Agent Native

email-best-practices

This skill guides agents through email implementation best practices, covering authentication setup, compliance requirements, transactional and marketing…

by ResendOfficial publisherNot reviewed

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
ef76428pinned Oct 9, 2026
Context cost
about 790 tokenswhen the skill loads
GitHub stars
145on resend/email-best-practices
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.”
The author's description, from SKILL.md

Generated summary from the skill's own text

This skill guides agents through email implementation best practices, covering authentication setup, compliance requirements, transactional and marketing email types, webhook event handling, and accessibility standards. It provides reference documentation and decision paths for building deliverable, compliant, and user-friendly email features across spam prevention, list management, and error handling.

When to use it

  • Building email features with authentication, compliance, or deliverability concerns
  • Debugging high bounce rates, spam filtering issues, or email delivery problems
  • Implementing transactional emails like password resets, OTPs, or confirmations
  • Setting up marketing email campaigns with subscriber consent and list management

When not to

  • Choosing an email service provider or evaluating pricing and features
  • Building non-email communication systems like SMS or push notifications
  • Migrating existing email infrastructure without code changes needed

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add resend/email-best-practices --skill email-best-practices

Installs 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/email-best-practices email-best-practices@ef764286d84d665634e14040a726d295c962120e

Installs the commit we checked (ef76428).

Copy by hand

Download the folder at ef76428 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.

Skill folder on GitHub at ef76428

Claude Code plugin

/plugin install resend@claude-plugins-official

The 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 ef764286d84d665634e14040a726d295c962120e:
https://github.com/resend/email-best-practices/tree/ef764286d84d665634e14040a726d295c962120e

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

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/email-best-practices at ef76428, shown as plain text under its license: MIT (permissive). The license text is in SKILL.md.

View SKILL.md on GitHub at ef76428

Files

19 files, 74 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at ef76428
All 8 skills from Resend

More 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

  • email-best-practices

    This skill provides guidance for building deliverable, compliant, and accessible emails across transactional and marketing use cases.

    Claude Code, Codex, Cursor +4 · about 790 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

  • 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

All Backend and APIs skills
  • 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

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use