email-template

Automates React Email template creation with domain-based organization and kebab-case filenames.

1|1|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/hyperjumptech/mediapulse --skill email-template-hyperjumptech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-template
Source: https://github.com/hyperjumptech/mediapulse/tree/main/.cursor/skills/email-template
Command: npx skills add https://github.com/hyperjumptech/mediapulse --skill email-template-hyperjumptech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing and maintaining consistent transactional emails across a product is hard without reusable templates. This Skill provides a structured approach to building email templates using React Email in the workspace's email-templates package, ensuring consistency, accessibility, and easy updates.

Core Features & Use Cases

  • Domain-based organization: place templates in src/user/, src/order/, src/billing/, etc., enabling clear ownership and reuse.
  • Consistent file naming: use kebab-case filenames like password-forgot.tsx and order-confirmation.tsx to simplify discovery.
  • Strict exports and styling: templates must export a Props interface, a named component, a PreviewProps, and a default export, with styles defined as React.CSSProperties.
  • Quick-start guidance and regeneration: after creating a template, run the codegen to refresh the template registry so it appears in the TemplateMap.

Quick Start

Create a new template file under src/user/ named password-forgot.tsx, export the component as specified, and ensure the required exports exist.

Frequently Asked Questions about email-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create consistent React Email templates for transactional emails?

To create consistent React Email templates, you structure them within a dedicated workspace package using domain-based organization like src/user/ or src/billing/, enforce kebab-case filenames, and define strict exports including Props and PreviewProps interfaces for reusability.

What's the best way to organize frontend email templates in a monorepo?

The best way to organize frontend email templates is by grouping them into domain-specific directories such as src/order/ or src/user/ within a centralized email-templates package, which ensures clear ownership and high template reuse across different projects.

How do I make a new React Email component discoverable in the template registry?

To make a new React Email component discoverable in the template registry, you must run the codegen regeneration step immediately after creating the template file to refresh the TemplateMap and register the new component.

What exports are required for a React Email template component?

A React Email template component requires strict exports: a Props interface, a named component, a PreviewProps object, and a default export, with all styling defined using React.CSSProperties to ensure standardization.

Can I use inline styles instead of React.CSSProperties for React Email templates?

No, styling must be defined as React.CSSProperties. This enforces strict styling standards across the workspace's email-templates package, ensuring that all transactional emails remain consistent and accessible.

Why does my new email template not show up in the TemplateMap?

Your new email template does not show up in the TemplateMap because the codegen regeneration step has not been run. You must execute this refresh process after adding a template to update the central registry.