Skip to content
Back to skills

Resend Email

ASecurity

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.

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
businessbashapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill resend-email --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Resend Email?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Resend Email
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-resend-email/badge)](https://www.skillsdirectory.com/skills/dvcrn-resend-email)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`:

```bash
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

```bash
openclaw run resend-email \
  --to="recipient@example.com" \
  --subject="Hello" \
  --text="Plain text message"
```

## Usage

### Basic Text Email

```bash
openclaw run resend-email \
  --to="user@example.com" \
  --subject="Notification" \
  --text="Your task is complete."
```

### HTML Email

```bash
openclaw run resend-email \
  --to="user@example.com" \
  --subject="Welcome" \
  --html="<h1>Welcome!</h1><p>Thanks for joining.</p>"
```

### Multiple Recipients

```bash
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

```bash
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:

```bash
# 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

- **Test domain**: `onboarding@resend.dev` (default, no setup required)
- **Custom domain**: `noreply@yourdomain.com` (requires domain verification in Resend dashboard)

## 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

Files in this skill

  • SKILL.md2.7 KB
  • scripts/send_email.py4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…