SuperAPI AI 工具集

email-sender

办公与效率

查看项目

更新于 10-15 16:43

技能介绍

用途:通过 SMTP 发送邮件,适合邮件通知和自动化场景。触发方式为 /send-email 命令,或用户请求发送邮件、需要邮件通知时使用。主要能力包括发送纯文本邮件、HTML 内容邮件(可加载 HTML 模板文件)、添加文件附件以及发送给多个收件人,底层基于 nodemailer。使用方式:通过命令行脚本调用,例如发送简单邮件:python scripts/send_email.py --to "user@example.com" --subject "Hello" --body "Message content";发送带附件邮件:python scripts/send_email.py --to "user@example.com" --subject "Report" --body "See attached" --attachment "report.pdf";发送 HTML 邮件:python scripts/send_email.py --to "user@example.com" --subject "Newsletter" --html "template.html"。配置依赖环境变量:SMTP_HOST、SMTP_PORT、SMTP_USER、SMTP_PASS、SMTP_FROM。兼容 Codex 与 Claude Code。限制:资料未提供价格、平台支持范围、发送频率限制之外的更多细节;需自行准备可用的 SMTP 服务与凭据。