React Email - Responsive Email Templates

VerifiedSafe

Build responsive, cross-client email templates with React Email components. Use for transactional emails that render correctly in Gmail, Outlook, Apple Mail, and mobile clients. The library compiles React components to inline-styled, table-based HTML compatible with major email clients.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude Code
#react-email#email-templates#transactional-emails#type-safe-rendering

Recommended for

Automated summary

Helps build responsive, cross-client email templates using React Email components, with support for personalization and HTML rendering.

Strengths

  • Pre-built components for Gmail, Outlook, and Apple Mail compatibility.
  • Local preview with hot reload via `email dev`.
  • Tailwind or React style props compile to inline styles.

Limitations

  • Requires React 18+ and knowledge of email client quirks.
  • Emails must stay under 102KB to avoid Gmail clipping.
  • Outlook may need extra testing due to rendering differences.
When to use it

Use for transactional emails (welcome, receipts, password resets) that must render correctly across all major email clients.

When not to use it

Avoid for rich newsletters or complex marketing campaigns that require elaborate designs not supported by email clients.

Security analysis

Safe
Quality score93/100

The skill provides design guidance for email templates using React Email, with no destructive commands, file manipulation, or network calls. It is purely declarative and advisory, posing no execution risk.

No concerns found

How this analysis is made

Examples

Build a welcome email with CTA button
Create a welcome email template for new user signups
Build a receipt email with order details
Create an order receipt email with line items and totals

name: react-email description: >- Assists with building responsive, cross-client email templates using React Email components. Use when creating transactional emails (welcome, receipts, password reset) that render correctly in Gmail, Outlook, Apple Mail, and mobile clients. Trigger words: react email, email template, transactional email, email components, email rendering. license: Apache-2.0 compatibility: "Requires React 18+" metadata: author: terminal-skills version: "1.0.0" category: automation tags: ["react-email", "email", "transactional", "templates", "rendering"]

React Email

Overview

React Email is a library for building responsive, cross-client email templates using React components. It provides pre-built components (Container, Section, Button, Text, Img) that compile to inline-styled, table-based HTML compatible with Gmail, Outlook, and mobile clients, with a local dev server for previewing templates and integration with any email sending service.

Instructions

  • When building templates, use React Email components (<Html>, <Container>, <Section>, <Text>, <Button>, <Img>) with props for personalization, keeping the container max-width at 600px for email client compatibility.
  • When styling, use the <Tailwind> wrapper for utility classes that compile to inline styles, or use React style props directly since email clients strip <style> tags.
  • When rendering, use render(element) to produce HTML strings and render(element, { plainText: true }) for plain text versions, compatible with Resend, SendGrid, Nodemailer, or any email service.
  • When previewing, use email dev for a local preview server with hot reload and test email sending.
  • When adding inbox preview text, include <Preview> on every email to control the 40-90 character preview shown in inbox listings.
  • When handling dynamic content, pass data as typed props to email components for type-safe personalization (name, order details, links).

Examples

Example 1: Build a welcome email with CTA button

User request: "Create a welcome email template for new user signups"

Actions:

  1. Create emails/welcome.tsx with <Html>, <Head>, <Preview>, <Body>, and <Container>
  2. Add a logo with <Img>, personalized greeting with <Text>, and onboarding CTA with <Button>
  3. Wrap with <Tailwind> for responsive styling and dark mode support
  4. Render with render(<WelcomeEmail name={user.name} />) and send via Resend

Output: A responsive welcome email with personalized content that renders correctly across all major email clients.

Example 2: Build a receipt email with order details

User request: "Create an order receipt email with line items and totals"

Actions:

  1. Define a typed props interface for order data (items, prices, shipping, total)
  2. Use <Section> for header, order summary, and footer sections
  3. Build line items table with <Row> and <Column> for responsive grid layout
  4. Add formatted prices and order number, with a "View Order" <Button> linking to the dashboard

Output: A receipt email with dynamic line items, formatted prices, and responsive layout for mobile.

Guidelines

  • Use <Preview> on every email to control inbox preview text (40-90 characters).
  • Use the <Tailwind> wrapper for styling since utilities compile to inline styles that email clients understand.
  • Always include a plain text version with render(template, { plainText: true }) since spam filters penalize HTML-only emails.
  • Test in Litmus or Email on Acid before deploying since Outlook renders differently from other clients.
  • Keep emails under 102KB of HTML since Gmail clips emails above this threshold.
  • Use <Container maxWidth={600}> since 600px is the safe width for all email clients.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/react-email-responsive-email-templates-mmh8qrqb/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/react-email-responsive-email-templates-mmh8qrqb' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/react-email-responsive-email-templates-mmh8qrqb/download' --output '.skill-downloads/react-email-responsive-email-templates-mmh8qrqb/SKILL.md.part' && mv '.skill-downloads/react-email-responsive-email-templates-mmh8qrqb/SKILL.md.part' '.skill-downloads/react-email-responsive-email-templates-mmh8qrqb/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Environment declared by the author: Requires React 18+

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/react-email-responsive-email-templates-mmh8qrqb/SKILL.md' && test -s '.skill-downloads/react-email-responsive-email-templates-mmh8qrqb/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/react-email' && cp -R '.skill-downloads/react-email-responsive-email-templates-mmh8qrqb' '.claude/skills/react-email'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/react-email-responsive-email-templates-mmh8qrqb'

openskills read 'react-email-responsive-email-templates-mmh8qrqb'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/react-email-responsive-email-templates-mmh8qrqb/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills