Loading...
Loading...
Send emails via SMTP (Gmail, Outlook, etc.). Supports attachments, HTML content, and multiple recipients. Use when user asks to send email, compose email, or email someone.
npx skill4agent add openakita/openakita smtp-email-sender.env# SMTP Configuration
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your_email@gmail.com
SMTP_PASSWORD=your_app_password # Use App Password for Gmail
SMTP_USE_TLS=truesend_email.pypython scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--body "Email Content"| Parameter | Required | Description |
|---|---|---|
| Yes | Recipient email address (separate multiple with commas) |
| Yes | Email subject |
| Yes | Email body |
| No | CC recipient email address (separate multiple with commas) |
| No | BCC recipient email address (separate multiple with commas) |
| No | Attachment path (separate multiple with commas) |
| No | Whether the body is in HTML format (default false) |
| No | Sender display name |
python scripts/send_email.py \
--to friend@example.com \
--subject "Weekend Gathering" \
--body "Are you free this weekend? Let's have dinner together!"python scripts/send_email.py \
--to boss@company.com \
--subject "Project Report" \
--body "<h1>Project Progress Report</h1><p>Please see attachments for details...</p>" \
--is_html true \
--attachment "report.pdf,chart.xlsx" \
--from_name "Zhang San"python scripts/send_email.py \
--to "alice@example.com,bob@example.com" \
--cc "manager@example.com" \
--subject "Meeting Minutes" \
--body "Below are the minutes from today's meeting..."SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_USE_TLS=trueSMTP_SERVER=smtp-mail.outlook.com
SMTP_PORT=587
SMTP_USE_TLS=trueSMTP_SERVER=smtp.qq.com
SMTP_PORT=587
SMTP_USE_TLS=trueSMTP_SERVER=smtp.163.com
SMTP_PORT=587
SMTP_USE_TLS=trueSMTP_SERVER=smtp.company.com
SMTP_PORT=587
SMTP_USE_TLS=truepython scripts/test_smtp.py.env