/install save-to-email
Save To Email
Send HTML emails with Resend.
When To Use
Use this skill when the user wants Claude to:
- send a formatted email
- email a generated report or summary
- deliver HTML content to one or more recipients
- trigger a lightweight notification email
Setup
This skill requires a local .env file in the skill root with:
RESEND_API_KEY=your_resend_api_key
RESEND_FROM="Your Name \[email protected]>"
If .env is missing, load the variables from the shell environment before using the script.
Command
./scripts/send-email.sh "[email protected]" "Subject" "\x3Cp>HTML content\x3C/p>"
Input Rules
- Argument 1: recipient email address
- Argument 2: subject
- Argument 3: HTML body
Use valid HTML. For plain text, wrap content in \x3Cpre> or convert line breaks to \x3Cbr>.
Examples
./scripts/send-email.sh \
"[email protected]" \
"Daily Report" \
"\x3Ch2>Summary\x3C/h2>\x3Cp>All jobs finished successfully.\x3C/p>"
html="\x3Ch1>Project Update\x3C/h1>\x3Cul>\x3Cli>Task A done\x3C/li>\x3Cli>Task B in progress\x3C/li>\x3C/ul>"
./scripts/send-email.sh "[email protected]" "Project Status" "$html"
Notes
- The script reads
.envautomatically when present. - Do not hardcode API keys or private sender addresses in this repository.
- Check README.md for public setup guidance.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install save-to-email - 安装完成后,直接呼叫该 Skill 的名称或使用
/save-to-email触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Save To Email 是什么?
Send emails through the Resend API. Use when the user wants to send an email, deliver a report by email, forward generated content to an inbox, or trigger an... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 168 次。
如何安装 Save To Email?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install save-to-email」即可一键安装,无需额外配置。
Save To Email 是免费的吗?
是的,Save To Email 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Save To Email 支持哪些平台?
Save To Email 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Save To Email?
由 chjm-ai(@chjm-ai)开发并维护,当前版本 v1.0.0。