SkillHub

resend-email-sender

v1.0.0

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.

Sourced from ClawHub, Authored by aprilvkuo

Installation

Please help me install the skill `resend-email-sender` from SkillHub official store. npx skills add aprilvkuo/resend-email-sender

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
[email protected]  # Optional, defaults to Resend test domain

Get API key at https://resend.com

2. Send Email

openclaw run resend-email 
  --to="[email protected]" 
  --subject="Hello" 
  --text="Plain text message"

Usage

Basic Text Email

openclaw run resend-email 
  --to="[email protected]" 
  --subject="Notification" 
  --text="Your task is complete."

HTML Email

openclaw run resend-email 
  --to="[email protected]" 
  --subject="Welcome" 
  --html="<h1>Welcome!</h1><p>Thanks for joining.</p>"

Multiple Recipients

openclaw run resend-email 
  --to="[email protected],[email protected],[email protected]" 
  --subject="Team Update" 
  --text="Meeting at 3 PM."

CC and BCC

openclaw run resend-email 
  --to="[email protected]" 
  --cc="[email protected]" 
  --bcc="[email protected]" 
  --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="[email protected]" 
  --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 [email protected] Default sender address

Sender Addresses

Limitations

  • Attachments not supported (Resend API requires base64 encoding)
  • Rate limits apply based on Resend plan
  • Email size limits per Resend documentation

Troubleshooting

"RESEND_API_KEY not configured" - Set RESEND_API_KEY in .env file or environment

"Failed to send email: Unauthorized" - Check API key is correct and active - Verify API key has email sending permission

"Failed to send email: Bad Request" - Check recipient email format is valid - Verify from address is verified (for custom domains)

Resources

  • scripts/send_email.py - Main email sending script