Skip to main content
ClaudeWave
Skill533 estrellas del repoactualizado 6d ago

gmail-email

The gmail-email skill enables sending emails through Gmail's SMTP server using App Password authentication instead of regular account passwords. Use this skill when you need to programmatically send emails from a Gmail account within automated workflows, requiring only Python's standard library and App Password credentials configured via environment variables or a .env file.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/open-gitagent/gitagent /tmp/gmail-email && cp -r /tmp/gmail-email/skills/gmail-email ~/.claude/skills/gmail-email
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

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)