Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
resend avatar

Email Best Practices

  • 6.3k installs
  • 159 repo stars
  • Updated July 23, 2026
  • resend/resend-skills

This is a copy of email-best-practices by resend - installs and ranking accrue to the original listing.

email-best-practices is a Resend agent skill that enforces accessible, table-based HTML email patterns with lang attributes, dark-mode support, and screen-reader compatibility for developers building production email tem

About

email-best-practices is a resend-skills module from resend/resend-skills that codifies mechanical rules for production HTML email accessibility. The skill requires lang and dir on both html and direct body children because clients strip html attributes, documents dark-mode and screen-reader compatibility, and targets readability for translation tools and AI agents parsing message content. Developers reach for email-best-practices when authoring transactional or marketing templates in React Email or raw HTML before sending through Resend, especially when prior templates fail accessibility checks or render inconsistently across Outlook, Gmail, and mobile clients.

  • Mechanical rules applied every time an email is generated
  • Requires setting lang and dir on both <html> and direct <body> children
  • Marks layout tables with role="presentation" or role="none"
  • Prevents the single most common accessibility failure in production email
  • Supports BCP 47 language tags and proper RTL/LTR handling

Email Best Practices by the numbers

  • 6,312 all-time installs (skills.sh)
  • +508 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/resend/resend-skills --skill email-best-practices

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6.3k
repo stars159
Security audit3 / 3 scanners passed
Last updatedJuly 23, 2026
Repositoryresend/resend-skills

How do you write accessible HTML emails?

Generate production-grade, accessible HTML emails that work across screen readers, dark mode, translation tools, and AI agents.

Who is it for?

Developers authoring Resend or React Email templates who need Outlook-safe, screen-reader-accessible table-based HTML on the first draft.

Skip if: SMTP server configuration, email list management, or plaintext-only notification copy without HTML templates.

When should I use this skill?

The user asks to write HTML email templates, fix email accessibility, or ensure dark-mode and screen-reader compatibility in transactional email.

What you get

Accessible HTML email template with lang attributes, table layout, and client-safe inline CSS

  • accessible HTML email template
  • inline CSS table layout
  • lang and dir attribute checklist

Files

SKILL.mdMarkdownGitHub ↗

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 issuesDeliverability
Build password reset, OTP, confirmationsTransactional Emails
Plan which emails your app needsTransactional Email Catalog
Build newsletter signup, validate emailsEmail Capture
Send newsletters, promotionsMarketing Emails
Ensure CAN-SPAM/GDPR/CASL complianceCompliance
Decide transactional vs marketingEmail Types
Handle retries, idempotency, errorsSending Reliability
Process delivery events, set up webhooksWebhooks & Events
Manage bounces, complaints, suppressionList Management
Make emails accessible (screen readers, alt text, contrast)Accessibility

Start Here

New app? Start with the Catalog to plan which emails your app needs (password reset, verification, etc.), then set up Deliverability (DNS authentication) before sending your first email.

Spam issues? Check Deliverability first—authentication problems are the most common cause. Gmail/Yahoo reject unauthenticated emails.

Marketing emails? Follow this path: Email Capture (collect consent) → Compliance (legal requirements) → Marketing Emails (best practices).

Production-ready sending? Add reliability: Sending Reliability (retry + idempotency) → Webhooks & Events (track delivery) → List Management (handle bounces).

Accessibility? Most emails fail basic accessibility checks. See Accessibility for lang/dir, presentational tables, headings, alt text, <title>, and contrast.

Related skills

How it compares

Use email-best-practices for markup and accessibility rules; use the Resend integration skill when wiring API keys, domains, and send endpoints.

FAQ

Why duplicate lang on html and body children?

email-best-practices requires lang and dir on both html and direct body children because several email clients strip attributes from html, and missing body-child lang is the most common accessibility failure in production email.

What email clients does email-best-practices target?

email-best-practices targets screen readers, dark-mode clients, translation tools, and AI agents parsing email content, with table-based inline CSS patterns for Outlook and major webmail renderers.

Is Email Best Practices safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Documentationfrontendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.