← Back to Skills Marketplace
chjm-ai

Save To Email

by chjm-ai · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
168
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install save-to-email
Description
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...
README (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.
Usage 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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install save-to-email
  3. After installation, invoke the skill by name or use /save-to-email
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial public release with env-based configuration and safe JSON payload handling.
Metadata
Slug save-to-email
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 168 downloads so far.

How do I install Save To Email?

Run "/install save-to-email" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Save To Email free?

Yes, Save To Email is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Save To Email support?

Save To Email is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Save To Email?

It is built and maintained by chjm-ai (@chjm-ai); the current version is v1.0.0.

💬 Comments