/install custom-smtp-sender
Custom SMTP Sender
Custom skill to send emails with advanced options including HTML/Markdown conversion, attachments, and retry handling. Integrates existing configuration, ensuring secure and reliable operations.
Features
- HTML/Markdown support: Compose emails using markdown converted to HTML.
- Attachments: Include one or more files easily.
- Retries: Attempts to resend in case of temporary failures.
- Logging: Maintains a log of sent emails and errors for auditing.
Prerequisites
- SMTP Configuration File:
smtp-config.jsonlocated at/home/bb/.openclaw/
Example:
{
"server": "smtp.exmail.qq.com",
"port": 465,
"username": "[email protected]",
"password": "your-password",
"emailFrom": "[email protected]",
"useTLS": true
}
Ensure file permissions are secured (chmod 600).
Usage
Send a basic email:
custom-smtp-sender send --to "[email protected]" --subject "Hello" --body "你好"
Send an HTML email with an attachment:
custom-smtp-sender send \
--to "[email protected]" \
--subject "Weekly Report" \
--body "**Important updates inside.** See attached." \
--html \
--attachments path/to/file.pdf
Error Handling
The tool retries up to 3 times on failure, logging each attempt. Networking or credential issues are reported in detail.
Future Expansion
- Support for CC/BCC fields
- Scheduling emails (cron integration)
- Email templates
Set up your SMTP-service once, and you’re ready to integrate email into your workflow!
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install custom-smtp-sender - 安装完成后,直接呼叫该 Skill 的名称或使用
/custom-smtp-sender触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Custom Smtp Sender 是什么?
A skill to send emails with support for markdown, HTML text, and attachments, leveraging existing SMTP configuration in `/home/bb/.openclaw/smtp-config.json`. Includes retry logic and logging. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1710 次。
如何安装 Custom Smtp Sender?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install custom-smtp-sender」即可一键安装,无需额外配置。
Custom Smtp Sender 是免费的吗?
是的,Custom Smtp Sender 完全免费(开源免费),可自由下载、安装和使用。
Custom Smtp Sender 支持哪些平台?
Custom Smtp Sender 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Custom Smtp Sender?
由 scccmsd(@scccmsd)开发并维护,当前版本 v1.0.0。