Skip to main content
Create a mailer class, its JSX template, and the test files for both in the target module. It writes modules/<module>/src/mailers/<Name>Mailer.ts, modules/<module>/src/mailers/<Name>MailerTemplate.tsx, modules/<module>/tests/mailers/<Name>Mailer.spec.ts, and modules/<module>/tests/mailers/<Name>MailerTemplate.spec.ts, installing the @talosjs/mailer dependency if it is missing.

Usage

Examples

Options

AI Skill

This command ships a matching mailer:create skill. Your AI agent uses it to generate the email sender class with its JSX template and test files, then complete the send method and template props using @talosjs/mailer.