# Gmail Email

> Gmail Email is an Agent Skill for apps & automation published in the open-gitagent/gitagent repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Send emails via Gmail SMTP using App Password authentication.

- Skill name: `gmail-email`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/open-gitagent/gitagent/blob/HEAD/skills/gmail-email/SKILL.md
- Repository: open-gitagent/gitagent (605 GitHub stars when collected)

## 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)

---

Source: https://www.openparable.com/skill/apps-automation/gmail-email (OpenParable). Cite the canonical URL above.
