Email

From ericwang915/PythonClaw · View interactive version

Email is an AI agent skill from the GitHub repository ericwang915/PythonClaw. Send emails via SMTP. Supports plain text, HTML, attachments, CC/BCC. Use when: the user asks to send an email, notification, message, or report. NOT for: reading/receiving mail (use google_workspace for Gmail), sending via Gmail API (use google_workspace instead).

How to use this skill

Skill file

Email (SMTP)

When to Use

When NOT to Use

Setup

Configure in pythonclaw.json (or the Config dashboard):

"skills": {
  "email": {
    "smtpServer": "smtp.gmail.com",
    "smtpPort": 587,
    "senderEmail": "you@gmail.com",
    "senderPassword": "your-app-password"
  }
}

For Gmail, use an App Password.

Usage/Commands

python {skill_path}/send_email.py \
  --to "recipient@example.com" \
  --subject "Hello" \
  --body "Message body here"

| Option | Description |

|--------|-------------|

| --to | Recipient address (required) |

| --subject | Subject line |

| --body | Message body |

| --cc "a@b.com,c@d.com" | CC recipients |

| --bcc "x@y.com" | BCC recipients |

| --html | Treat body as HTML |

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.