PythonClaw email
install
source · Clone the upstream repo
git clone https://github.com/ericwang915/PythonClaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ericwang915/PythonClaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/pythonclaw/templates/skills/communication/email" ~/.claude/skills/ericwang915-pythonclaw-email && rm -rf "$T"
manifest:
pythonclaw/templates/skills/communication/email/SKILL.mdsource content
Email (SMTP)
When to Use
- Send emails through SMTP (Gmail, Outlook, custom server)
- Notifications, messages, or reports
- Emails with CC, BCC, or HTML body
- When user explicitly asks to "send an email"
When NOT to Use
- Reading or searching Gmail — use
with goggoogle_workspace - Sending via Gmail API — use
gmail sendgoogle_workspace - Tasks that don't involve sending email
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 |
|---|---|
| Recipient address (required) |
| Subject line |
| Message body |
| CC recipients |
| BCC recipients |
| Treat body as HTML |
Notes
- Always confirm before sending on behalf of the user
- For Gmail, App Password is required (not regular password)
- Credentials are read from
inskills.emailpythonclaw.json