Save To Email
name: save-to-email
by chjm-ai · published 2026-03-22
$ claw add gh:chjm-ai/chjm-ai-save-to-email---
name: 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 email notification. Trigger on phrases like "send email", "发邮件", "邮件通知", "email this", or "把结果发到邮箱".
metadata:
openclaw:
requires:
env:
- RESEND_API_KEY
- RESEND_FROM
bins:
- curl
- python3
primaryEnv: RESEND_API_KEY
---
# Save To Email
Send HTML emails with Resend.
When To Use
Use this skill when the user wants Claude to:
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
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
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...