← 返回 Skills 市场
chjm-ai

Save To Email

作者 chjm-ai · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
168
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

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 .env automatically when present.
  • Do not hardcode API keys or private sender addresses in this repository.
  • Check README.md for public setup guidance.
安全使用建议
This skill appears coherent for sending email via Resend, but exercise normal precautions: (1) Treat RESEND_API_KEY as a secret — don't commit it to source control and store it in a secure place. (2) The script sources a local .env file (. "${ROOT_DIR}/.env"), which will execute any shell code present there; ensure your .env only contains simple KEY=VALUE lines or change the loader to a safer parser. (3) Review the script before use and verify RESEND_FROM is an authorized/verified sender in your Resend account. (4) If you prefer, run the script manually rather than granting automated agents direct access to the key; rotate the API key if you suspect it was exposed.
功能分析
Type: OpenClaw Skill Name: save-to-email Version: 1.0.0 The skill is a legitimate utility for sending HTML emails via the Resend API. The implementation in `scripts/send-email.sh` is well-structured, using a Python helper to safely construct JSON payloads and `curl` to interact with the official Resend endpoint (api.resend.com). No evidence of data exfiltration, obfuscation, or malicious instructions was found in the code or documentation.
能力评估
Purpose & Capability
Name and description match the actual behavior: the script builds a JSON email payload and POSTS it to https://api.resend.com/emails. Requested binaries (curl, python3) and env vars (RESEND_API_KEY, RESEND_FROM) are directly needed for this task.
Instruction Scope
SKILL.md and scripts limit actions to loading environment variables, composing an email payload, and calling the Resend API. There are no instructions to read unrelated system files or send data to other endpoints.
Install Mechanism
No install spec (instruction-only plus a small script). No downloads or archive extraction are performed; risk from installation is minimal.
Credentials
Only two environment variables are required and both are justified: RESEND_API_KEY (sensitive credential to authenticate to Resend) and RESEND_FROM (sender address). The amount and type of credentials are proportional to an email-sending skill.
Persistence & Privilege
Skill does not request persistent/always-on privileges, does not modify other skills or system-wide settings, and is user-invocable only. Autonomous invocation is allowed by default but is not combined with other concerning privileges here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install save-to-email
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /save-to-email 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release with env-based configuration and safe JSON payload handling.
元数据
Slug save-to-email
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论