Gmail Email Skill
Send emails via Gmail SMTP.
Setup
-
Enable 2-Factor Authentication on your Gmail account
-
Generate App Password:
- Go to https://myaccount.google.com/apppasswords
- Sign in to your Google account
- Select "Mail" and your device
- Generate password and save it
-
Configure credentials:
bashexport GMAIL_USER="your-email@gmail.com" export GMAIL_APP_PASSWORD="your-16-char-app-password"Or create a
.envfile in the skill directory:GMAIL_USER=your-email@gmail.com GMAIL_APP_PASSWORD=your-16-char-app-password
Usage
bashpython3 scripts/send_email.py \ --to "recipient@example.com" \ --subject "Subject line" \ --body "Email body text"
Requirements
- Python 3.6+
- No additional packages needed (uses stdlib smtplib)


