Resend Email Sender
by @aprilvkuo
Send emails using Resend API. Use when the user needs to send emails without configuring SMTP servers. Supports text and HTML emails, multiple recipients, CC...
clawhub install resend-email-senderπ About This Skill
name: resend-email description: Send emails using Resend API. Use when the user needs to send emails without configuring SMTP servers. Supports text and HTML emails, multiple recipients, CC/BCC, and bulk sending. Ideal for notifications, alerts, newsletters, and automated email workflows.
Resend Email Sender
Send emails via Resend API - no SMTP configuration needed.
Quick Start
1. Configure
Set environment variables in .env:
RESEND_API_KEY=your_resend_api_key
RESEND_FROM=onboarding@resend.dev # Optional, defaults to Resend test domain
Get API key at https://resend.com
2. Send Email
openclaw run resend-email \
--to="recipient@example.com" \
--subject="Hello" \
--text="Plain text message"
Usage
Basic Text Email
openclaw run resend-email \
--to="user@example.com" \
--subject="Notification" \
--text="Your task is complete."
HTML Email
openclaw run resend-email \
--to="user@example.com" \
--subject="Welcome" \
--html="Welcome!
Thanks for joining.
"
Multiple Recipients
openclaw run resend-email \
--to="user1@example.com,user2@example.com,user3@example.com" \
--subject="Team Update" \
--text="Meeting at 3 PM."
CC and BCC
openclaw run resend-email \
--to="primary@example.com" \
--cc="manager@example.com" \
--bcc="archive@example.com" \
--subject="Report" \
--text="Please find the attached report."
From Agent
When agent needs to send email:
# Use exec to call the skill
exec openclaw run resend-email \
--to="recipient@example.com" \
--subject="Automated Notification" \
--text="This email was sent automatically by the agent."
Configuration Options
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| RESEND_API_KEY | Yes | - | Your Resend API key |
| RESEND_FROM | No | onboarding@resend.dev | Default sender address |
Sender Addresses
onboarding@resend.dev (default, no setup required)noreply@yourdomain.com (requires domain verification in Resend dashboard)Limitations
Troubleshooting
"RESEND_API_KEY not configured"
RESEND_API_KEY in .env file or environment"Failed to send email: Unauthorized"
"Failed to send email: Bad Request"
from address is verified (for custom domains)Resources
scripts/send_email.py - Main email sending scriptπ‘ Examples
Basic Text Email
openclaw run resend-email \
--to="user@example.com" \
--subject="Notification" \
--text="Your task is complete."
HTML Email
openclaw run resend-email \
--to="user@example.com" \
--subject="Welcome" \
--html="Welcome!
Thanks for joining.
"
Multiple Recipients
openclaw run resend-email \
--to="user1@example.com,user2@example.com,user3@example.com" \
--subject="Team Update" \
--text="Meeting at 3 PM."
CC and BCC
openclaw run resend-email \
--to="primary@example.com" \
--cc="manager@example.com" \
--bcc="archive@example.com" \
--subject="Report" \
--text="Please find the attached report."
From Agent
When agent needs to send email:
# Use exec to call the skill
exec openclaw run resend-email \
--to="recipient@example.com" \
--subject="Automated Notification" \
--text="This email was sent automatically by the agent."
π Tips & Best Practices
"RESEND_API_KEY not configured"
RESEND_API_KEY in .env file or environment"Failed to send email: Unauthorized"
"Failed to send email: Bad Request"
from address is verified (for custom domains)