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...
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 1 · 77 · 0 current installs · 0 all-time installs
by@chjm-ai
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & 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.
Assessment
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.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
Binscurl, python3
EnvRESEND_API_KEY, RESEND_FROM
Primary envRESEND_API_KEY
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 <sender@yourdomain.com>"
If .env is missing, load the variables from the shell environment before using the script.
Command
./scripts/send-email.sh "recipient@example.com" "Subject" "<p>HTML content</p>"
Input Rules
- Argument 1: recipient email address
- Argument 2: subject
- Argument 3: HTML body
Use valid HTML. For plain text, wrap content in <pre> or convert line breaks to <br>.
Examples
./scripts/send-email.sh \
"recipient@example.com" \
"Daily Report" \
"<h2>Summary</h2><p>All jobs finished successfully.</p>"
html="<h1>Project Update</h1><ul><li>Task A done</li><li>Task B in progress</li></ul>"
./scripts/send-email.sh "recipient@example.com" "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.
Files
3 totalSelect a file
Select a file to preview.
Comments
Loading comments…
