Back to Registry View Author Profile
Official Verified
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 email notification. Trigger on phrases like "send email", "发邮件", "邮件通知", "email this", or "把结果发到邮箱".
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chjm-ai/save-to-emailOr
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" "<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 \
"[email protected]" \
"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 "[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.
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chjm-ai-save-to-email": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.