Send HTML emails with Resend.
Use this skill when the user wants Claude to:
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.
./scripts/send-email.sh "recipient@example.com" "Subject" "<p>HTML content</p>"
Use valid HTML. For plain text, wrap content in or convert line breaks to .
./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"
.env automatically when present.共 1 个版本