email-best-practices
This skill provides guidance for building deliverable, compliant, and accessible emails across transactional and marketing use cases.
Identity proven by a skills index on resend.com
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- MIT (permissive)
- Pin
- e82efc6pinned Oct 9, 2026
- Context cost
- about 790 tokenswhen the skill loads
- GitHub stars
- 198on resend/resend-skills
- Scripts
- None found
What it does
“Use when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compliance (CAN-SPAM, GDPR, CASL), handling webhooks, retry logic, making emails accessible (alt text, headings, contrast, screen readers), or deciding transactional vs marketing.”
Generated summary from the skill's own text
This skill provides guidance for building deliverable, compliant, and accessible emails across transactional and marketing use cases. It covers email authentication, list management, compliance requirements, and handling delivery events through webhooks. The skill organizes best practices through reference documents addressing specific email challenges and implementation patterns.
When to use it
- Setting up SPF/DKIM/DMARC authentication or diagnosing high bounce rates and spam issues
- Building transactional emails like password resets, OTP confirmations, or verification messages
- Creating marketing campaigns with consent collection, list management, and CAN-SPAM/GDPR compliance
- Implementing production-ready sending with retry logic, idempotency, webhooks, and delivery tracking
When not to
- Choosing an email service provider or evaluating specific API providers
- Designing email templates visually without guidance on email structure
- Building real-time customer communication systems unrelated to email delivery
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add resend/resend-skills --skill email-best-practicesInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install resend/resend-skills email-best-practices@e82efc6796fd718c2380797aa9e8f09e95b1736fInstalls the commit we checked (e82efc6).
Copy by hand
Download the folder at e82efc6 and put it in .claude/skills/email-best-practices for Claude Code and in .agents/skills/email-best-practices for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install resend@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "email-best-practices" by Resend. Source, pinned to commit e82efc6796fd718c2380797aa9e8f09e95b1736f: https://github.com/resend/resend-skills/tree/e82efc6796fd718c2380797aa9e8f09e95b1736f/skills/email-best-practices 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/email-best-practices/ for Claude Code and .agents/skills/email-best-practices/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/resend/email-best-practices-resend-skills
SKILL.md at the pin
---
name: email-best-practices
description: Use when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compliance (CAN-SPAM, GDPR, CASL), handling webhooks, retry logic, making emails accessible (alt text, headings, contrast, screen readers), or deciding transactional vs marketing.
license: MIT
metadata:
author: Resend
version: "1.0.2"
homepage: https://resend.com/agent-skills
source: https://github.com/resend/email-best-practices
openclaw:
links:
repository: https://github.com/resend/email-best-practices
documentation: https://resend.com/docs/email-best-practices-skill
---
# Email Best Practices
Guidance for building deliverable, compliant, user-friendly emails.
## Architecture Overview
```
[User] → [Email Form] → [Validation] → [Double Opt-In]
↓
[Consent Recorded]
↓
[Suppression Check] ←──────────────[Ready to Send]
↓
[Idempotent Send + Retry] ──────→ [Email API]
↓
[Webhook Events]
↓
┌────────┬────────┬─────────────┐
↓ ↓ ↓ ↓
Delivered Bounced Complained Opened/Clicked
↓ ↓
[Suppression List Updated]
↓
[List Hygiene Jobs]
```
## Quick Reference
| Need to... | See |
|------------|-----|
| Set up SPF/DKIM/DMARC, fix spam issues | [Deliverability](./references/deliverability.md) |
| Build password reset, OTP, confirmations | [Transactional Emails](./references/transactional-emails.md) |
| Plan which emails your app needs | [Transactional Email Catalog](./references/transactional-email-catalog.md) |
| Build newsletter signup, validate emails | [Email Capture](./references/email-capture.md) |
| Send newsletters, promotions | [Marketing Emails](./references/marketing-emails.md) |
| Ensure CAN-SPAM/GDPR/CASL compliance | [Compliance](./references/compliance.md) |
| Decide transactional vs marketing | [Email Types](./references/email-types.md) |
| Handle retries, idempotency, errors | [Sending Reliability](./references/sending-reliability.md) |
| Process delivery events, set up webhooks | [Webhooks & Events](./references/webhooks-events.md) |
| Manage bounces, complaints, suppression | [List Management](./references/list-management.md) |
| Make emails accessible (screen readers, alt text, contrast) | [Accessibility](./references/accessibility.md) |
## Start Here
**New app?**
Start with the [Catalog](./references/transactional-email-catalog.md) to plan which emails your app needs (password reset, verification, etc.), then set up [Deliverability](./references/deliverability.md) (DNS authentication) before sending your first email.
**Spam issues?**
Check [Deliverability](./references/deliverability.md) first—authentication problems are the most common cause. Gmail/Yahoo reject unauthenticated emails.
**Marketing emails?**
Follow this path: [Email Capture](./references/email-capture.md) (collect consent) → [Compliance](./references/compliance.md) (legal requirements) → [Marketing Emails](./references/marketing-emails.md) (best practices).
**Production-ready sending?**
Add reliability: [Sending Reliability](./references/sending-reliability.md) (retry + idempotency) → [Webhooks & Events](./references/webhooks-events.md) (track delivery) → [List Management](./references/list-management.md) (handle bounces).
**Accessibility?**
Most emails fail basic accessibility checks. See [Accessibility](./references/accessibility.md) for `lang`/`dir`, presentational tables, headings, alt text, `<title>`, and contrast.
From resend/resend-skills at e82efc6, shown as plain text under its license: MIT (permissive). The license text is in skills/email-best-practices/SKILL.md.
View SKILL.md on GitHub at e82efc6Files
- SKILL.md4.0 KB · f1b957138619
- references/
- accessibility.md9.5 KB · bda456306256
- compliance.md4.2 KB · 8e4e69511871
- deliverability.md3.4 KB · f98bc3072c78
- email-capture.md3.5 KB · 231644ab8e24
- email-types.md5.8 KB · f73a80274bfa
- list-management.md4.6 KB · 257812941045
- marketing-emails.md3.3 KB · 6b05077c614f
- sending-reliability.md4.8 KB · e4b3c84ddb9a
- transactional-email-catalog.md10 KB · 31e8f776dadf
- transactional-emails.md2.5 KB · c9b94a17aac6
- webhooks-events.md4.4 KB · fb135c1801dd
12 files, 60 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at e82efc6More from Resend
react-email
React Email lets agents build HTML email templates as React components and render them to HTML or plain text.
Claude Code, Codex, Cursor +4 · about 3.4K tokens · pinned 6 days ago
react-email
Build and send HTML emails using React components with a modern, client-compatible approach.
Claude Code, Codex, Cursor +4 · about 3.4K tokens · pinned 6 days ago
resend
This skill enables agents to work with the Resend email API for sending transactional emails (single or batch), receiving inbound emails via webhooks…
Contains scripts
Claude Code, Codex, Cursor +3 · about 3K tokens · pinned 6 days ago
resend-cli
The Resend CLI skill operates the Resend email platform from the command line, supporting email sending (including React Email templates), domain management…
Claude Code, Codex, Cursor +3 · about 2.2K tokens · pinned 6 days ago
email-best-practices
This skill guides agents through email implementation best practices, covering authentication setup, compliance requirements, transactional and marketing…
Claude Code, Codex, Cursor +4 · about 790 tokens · pinned 6 days ago
resend-brand
This skill provides Resend's brand guidelines for creating marketing materials and visual content.
Claude Code, Codex, Cursor +4 · about 1.3K tokens · pinned 6 days ago
Related in Backend and APIs
nvflare-orient
Routes NVFLARE requests to appropriate downstream skills based on user intent and preliminary source inspection findings.
by NVIDIAOfficial publisher
Claude Code, Codex, Cursor +4 · about 600 tokens · pinned 6 days ago
cloudflare-email-service
This skill enables agents to send transactional emails and route incoming emails using Cloudflare's Email Service platform.
by CloudflareOfficial publisher
Claude Code, Codex, Cursor +4 · about 1.6K tokens · pinned 6 days ago
durable-objects
Build and debug Cloudflare Durable Objects applications for stateful coordination and persistent storage on the edge.
by CloudflareOfficial publisher
Claude Code, Codex, Cursor +4 · about 1.5K tokens · pinned 6 days ago
workers-best-practices
This skill guides code review and development of Cloudflare Workers by applying best practices for production readiness.
by CloudflareOfficial publisher
Claude Code, Codex, Cursor +4 · about 1.3K tokens · pinned 6 days ago
supabase
This skill enables the agent to work with Supabase products including Database, Auth, Edge Functions, Realtime, Storage, and Vectors.
by SupabaseOfficial publisher
Claude Code, Codex, Cursor +4 · about 3.3K tokens · pinned 6 days ago
apple
This skill emulates Apple's OAuth and OIDC services for local development and testing.
by VercelOfficial publisher
Claude Code, Codex, Cursor +4 · about 1.9K tokens · pinned 6 days ago