OpenParable
Skip to content
← Back to skills

Gmail Email

Apps & Automation
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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/open-gitagent/gitagent/blob/HEAD/skills/gmail-email/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gmail-email, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Gmail Email Skill

Send emails via Gmail SMTP.

Setup

  1. Enable 2-Factor Authentication on your Gmail account

  2. Generate App Password:

  3. Configure credentials:

    export GMAIL_USER="[email protected]"
    export GMAIL_APP_PASSWORD="your-16-char-app-password"
    

    Or create a .env file in the skill directory:

    [email protected]
    GMAIL_APP_PASSWORD=your-16-char-app-password
    

Usage

python3 scripts/send_email.py \
  --to "[email protected]" \
  --subject "Subject line" \
  --body "Email body text"

Requirements

  • Python 3.6+
  • No additional packages needed (uses stdlib smtplib)