Skip to content
Back to skills

Gmail Email

ASecurity

Send emails via Gmail SMTP using App Password authentication.

  • 667 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aipythongobash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add open-gitagent/gitagent --skill gmail-email --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gmail Email?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gmail Email
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/open-gitagent-gmail-email/badge)](https://www.skillsdirectory.com/skills/open-gitagent-gmail-email)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gmail-email
description: Send emails via Gmail SMTP using App Password authentication.
---

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

Files in this skill

  • SKILL.md940 B
  • scripts/send_email.py3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.