email-sender
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEmail Sender Tool
邮件发送工具
Description
功能描述
Send emails with HTML content, attachments, and multiple recipients via SMTP.
通过SMTP发送包含HTML内容、附件及多收件人的邮件。
Trigger
触发方式
- command
/send-email - User requests to send email
- User needs email notification
- 命令
/send-email - 用户请求发送邮件
- 用户需要邮件通知
Usage
使用方法
bash
undefinedbash
undefinedSend simple email
发送简单邮件
python scripts/send_email.py --to "user@example.com" --subject "Hello" --body "Message content"
python scripts/send_email.py --to "user@example.com" --subject "Hello" --body "Message content"
Send with attachment
发送带附件的邮件
python scripts/send_email.py --to "user@example.com" --subject "Report" --body "See attached" --attachment "report.pdf"
python scripts/send_email.py --to "user@example.com" --subject "Report" --body "See attached" --attachment "report.pdf"
Send HTML email
发送HTML格式邮件
python scripts/send_email.py --to "user@example.com" --subject "Newsletter" --html "template.html"
undefinedpython scripts/send_email.py --to "user@example.com" --subject "Newsletter" --html "template.html"
undefinedEnvironment Variables
环境变量
env
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
SMTP_FROM=Your Name <your-email@gmail.com>env
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
SMTP_FROM=Your Name <your-email@gmail.com>Tags
标签
emailsmtpnotificationautomationemailsmtpnotificationautomationCompatibility
兼容性
- Codex: ✅
- Claude Code: ✅
- Codex: ✅
- Claude Code: ✅