--- id: open-gitagent/gitagent/gmail-email version: "7cddf773" license: MIT install: manual updated: 2026-07-24 --- # gmail-email — This skill enables you to send emails directly through Gmail's SMTP servers using secure App Password authentication. Perfect for automating email notifications, alerts, and communications within your applications or workflows without managing complex OAuth flows. Publisher: open-gitagent · Stars: 626 · Updated: 2026-07-24 Install (manual): `git clone https://github.com/open-gitagent/gitagent` ## SKILL.md # Gmail Email Skill Send emails via Gmail SMTP. ## Setup 1. **Enable 2-Factor Authentication** on your Gmail account 2. **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 3. **Configure credentials**: ```bash export GMAIL_USER="your-email@gmail.com" export GMAIL_APP_PASSWORD="your-16-char-app-password" ``` Or create a `.env` file in the skill directory: ``` GMAIL_USER=your-email@gmail.com GMAIL_APP_PASSWORD=your-16-char-app-password ``` ## Usage ```bash python3 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) [View on SkillFed](https://skillfed.io/open-gitagent/gitagent/gmail-email) · [View on GitHub](https://github.com/open-gitagent/gitagent)