Skip to content
Skillpedia
APIs & servers (backend)29k Β· #9494

email-template-builder

What it does

This skill makes the agent set up a full system for app emails, including templates, previews and a link to a sending provider. It is for developers adding emails like sign-up confirmations, receipts or alerts.

When to use it

  • βœ“When you need to add a welcome or password reset email to your app.
  • βœ“When you are switching to a new email sending provider.
  • βœ“When your app's emails are not arriving or look broken on some devices.

Skill link

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/email-template-builder/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/email-template-builder/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œBuild welcome and password reset emails for my app using React Email and Resend.”

5 new skills a week. 1 minute to read.

How it works

The agent creates email components and templates, adds a local preview, and connects them to a provider such as Resend, Postmark, SendGrid or Amazon SES. It can also add multiple languages and dark mode.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Email Template Builder

Tier: POWERFUL
Category: Engineering Team
Domain: Transactional Email / Communications Infrastructure


Overview

Build complete transactional email systems: React Email templates, provider integration, preview server, i18n support, dark mode, spam optimization, and analytics tracking. Output production-ready code for Resend, Postmark, SendGrid, or AWS SES.


Core Capabilities

  • React Email templates (welcome, verification, password reset, invoice, notification, digest)
  • MJML templates for maximum email client compatibility
  • Multi-provider support with unified sending interface
  • Local preview server with hot reload
  • i18n/localization with typed translation keys
  • Dark mode support using media queries
  • Spam score optimization checklist
  • Open/click tracking with UTM parameters

When to Use

  • Setting up transactional email for a new product
  • Migrating from a legacy email system
  • Adding new email types (invoice, digest, notification)
  • Debugging email deliverability issues
  • Implementing i18n for email templates

Project Structure

emails/
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ layout/
β”‚   β”‚   β”œβ”€β”€ email-layout.tsx       # Base layout with brand header/footer
β”‚   β”‚   └── email-button.tsx       # CTA button component
β”‚   β”œβ”€β”€ partials/
β”‚   β”‚   β”œβ”€β”€ header.tsx
β”‚   β”‚   └── footer.tsx
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ welcome.tsx
β”‚   β”œβ”€β”€ verify-email.tsx
β”‚   β”œβ”€β”€ password-reset.tsx
β”‚   β”œβ”€β”€ invoice.tsx
β”‚   β”œβ”€β”€ notification.tsx
β”‚   └── weekly-digest.tsx
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ send.ts                    # Unified send function
β”‚   β”œβ”€β”€ providers/
β”‚   β”‚   β”œβ”€β”€ resend.ts
β”‚   β”‚   β”œβ”€β”€ postmark.ts
β”‚   β”‚   └── ses.ts
β”‚   └── tracking.ts                # UTM + analytics
β”œβ”€β”€ i18n/
β”‚   β”œβ”€β”€ en.ts
β”‚   └── de.ts
└── preview/                       # Dev preview server
    └── server.ts

Base Email Layout

// emails/components/layout/email-layout.tsx
import {
  Body, Container, Head, Html, Img, Preview, Section, Text, Hr, Font
} from "@react-email/components"

interface EmailLayoutProps {
  preview: string
  children: React.ReactNode
}

export function EmailLayout({ preview, children }: EmailLayoutProps) {
  return (
    <Html lang="en">
      <Head>
        <Font
          fontFamily="Inter"
          fallbackFontFamily="Arial"
          webFont={{ url: "https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.woff2", format: "woff2" }}
          fontWeight={400}
          fontStyle="normal"
        />
        {/* Dark mode styles */}
        <style>{`
          @media (prefers-color-scheme: dark) {
            .email-body { background-color: #0f0f0f !important; }
            .email-container { background-color: #1a1a1a !important; }
            .email-text { color: #e5e5e5 !important; }
            .email-heading { color: #ffffff !important; }
            .email-divider { border-color: #333333 !important; }
          }
        `}</style>
      </Head>
      <Preview>{preview}</Preview>
      <Body className="email-body" style={styles.body}>
        <Container className="email-container" style={styles.container}>
          {/* Header */}
          <Section style={styles.header}>
            <Img src="https://yourapp.com/logo.png" width={120} height={40} alt="MyApp" />
          </Section>
          
          {/* Content */}
          <Section style={styles.content}>
            {children}
          </Section>
          
          {/* Footer */}
          <Hr style={styles.divider} />
          <Section style={styles.footer}>
            <Text style={styles.footerText}>
              MyApp Inc. Β· 123 Main St Β· San Francisco, CA 94105
            </Text>
            <Text style={styles.footerText}>
              <a href="{{unsubscribe_url}}" style={styles.link}>Unsubscribe</a>
              {" Β· "}
              <a href="https://yourapp.com/privacy" style={styles.link}>Privacy Policy</a>
            </Text>
          </Section>
        </Container>
      </Body>
    </Html>
  )
}

const styles = {
  body: { backgroundColor: "#f5f5f5", fontFamily: "Inter, Arial, sans-serif" },
  container: { maxWidth: "600px", margin: "0 auto", backgroundColor: "#ffffff", borderRadius: "8px", overflow: "hidden" },
  header: { padding: "24px 32px", borderBottom: "1px solid #e5e5e5" },
  content: { padding: "32px" },
  divider: { borderColor: "#e5e5e5", margin: "0 32px" },
  footer: { padding: "24px 32px" },
  footerText: { fontSize: "12px", color: "#6
FAQ

Which email providers does it support?

The skill names Resend, Postmark, SendGrid and AWS SES.

Does it help with other languages?

Yes. The skill covers localized templates with typed translation keys.

Can I preview emails before sending?

Yes. It includes a local preview server that reloads as you edit.

Details

Original description by the author

Use when adding or reworking transactional email (React Email templates, Resend, Postmark, SendGrid or SES, preview, i18n, dark mode, deliverability). Builds the template system and provider integration end to end.

repo: alirezarezvani/claude-skills

Popularity

GitHub stars
29k
Ranking position
#9494
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills