Skip to content
Skills Library
Marketing & content · Planning

email-flows

/email-flows

Maps and designs the product's transactional and lifecycle email: the flow map, triggers, templates (React Email or MJML), copy, and the deliverability checklist (SPF, DKIM, DMARC, unsubscribe). Use when adding email to the product, planning onboarding or re-engagement sequences, or fixing deliverability. Never sends email.

Licence
MIT
Last repository change
09.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Maps and designs the product's transactional and lifecycle email: the flow map, triggers, templates (React Email or MJML), copy, and the deliverability checklist (SPF, DKIM, DMARC, unsubscribe). Use when adding email to the product, planning onboarding or re-engagement sequences, or fixing deliverability. Never sends email.

Arguments

/email-flows [transactional | lifecycle | deliverability | all]
Original author description

Maps and designs the product's transactional and lifecycle email: the flow map, triggers, templates (React Email or MJML), copy, and the deliverability checklist (SPF, DKIM, DMARC, unsubscribe). Use when adding email to the product, planning onboarding or re-engagement sequences, or fixing deliverability. Never sends email.

How it works

  1. Inputs
  2. Phases
  3. Output
  4. Next step
Original SKILL.md headings · 68 lines, 392 words
SKILL.md preview
---
name: email-flows
description: "Maps and designs the product's transactional and lifecycle email: the flow map, triggers, templates (React Email or MJML), copy, and the deliverability checklist (SPF, DKIM, DMARC, unsubscribe). Use when adding email to the product, planning onboarding or re-engagement sequences, or fixing deliverability. Never sends email."
argument-hint: "[transactional | lifecycle | deliverability | all]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Edit, AskUserQuestion, Agent, Bash(bash .claude/scripts/*)
model: sonnet
---

# Email Flows

Produces `docs/content/email-flows.md` (template
`.claude/docs/templates/email-flow.md`) and, on approval, implementation
stories. It never sends to real recipients: previews and tests go to an
inbox capture (Mailpit, the provider's sandbox or test mode).

## Inputs

- `docs/product/prd.md`, `docs/specs/features/*.md` (events that trigger email)
- `production/analytics/tracking-plan.md` (behavioural triggers for lifecycle email)
- `docs/design/brand-guide.md` (voice, colours, logo)
- `project.yaml`: `stack.email`, `stack.auth`, `stack.payments`, `privacy.regions`, `i18n.locales`

## Phases

### Phase 1: Provider

If `stack.email` is unset, ask: `Resend (Recommended for TS stacks)`, `Postmark (best transactional deliverability)`,
`SendGrid`, `Amazon SES (cheapest at volume)`. Recording it in `project.yaml` needs a yes.

### Phase 2: Flow map

Spawn `email-specialist` to draft the map; in parallel `growth-lead` for
lifecycle goals. Two streams, kept separate (different sending subdomains or
message streams):

| Stream | Typical emails | Trigger |
|---|---|---|
| Transactional | verify email, magic link/OTP, password reset, receipt/invoice, payment failed, plan changed, security alert, export ready | system event, sent from a queue with retries |
| Lifecycle | welcome, activation nudge (no activation event after 24 h), feature education, trial ending, win-back | behaviour from the tracking plan, with frequency caps |

For each email: trigger, audience, delay, subject + preview text, goal, CTA,
suppression rules (e.g. stop the nudge once activated).

### Phase 3: Templates and copy

`copywriter` drafts subject lines and body copy in the brand voice. Templates
use React Email (TS stacks) or MJML: shared layout component, plain-text
alternative, dark-mode-safe colours, 600 px max width, alt text on images,
localised strings when `i18n.locales` has more than one.

### Phase 4: Deliverability and compliance checklist

- SPF, DKIM and DMARC (`p=none` → `quarantine` once reports are clean) on a dedicated sending subdomain
- Bounce and complaint webhooks handled (suppress hard bounces)
- One-click `List-Unsubscribe` + `List-Unsubscribe-Post` on lifecycle/marketing mail
- Consent recorded for marketing email under `privacy.regions`; physical address where required (CAN-SPAM)
- Absolute links; UTM tags on lifecycle links only
- Rate limits on user-triggered emails (reset, magic link)

Spawn `privacy-compliance-specialist` to check the consent column.

### Phase 5: Write

Show the map and checklist; ask "May I write this to `docs/content/email-flows.md`?"
Then offer implementation stories (provider setup, layout, one story per
email group, webhook handling, inbox-capture setup for dev) under `production/stories/`.

## Output

`docs/content/email-flows.md`; optional stories.

## Next step

`/dev-story` for the email stories; DNS records are added by the user at their DNS provider.

Versions

The database has no other skills named email-flows.

Database snapshot: 13.11.2026 · package version ee5c717dc596 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100enhance-email-deliverability
    Audit and fix email deliverability: SPF, DKIM, DMARC, reputation, bounces and complaints, list hygiene, unsubscribe compliance. Use when "emails go to spam", "set up SPF/DKIM", or "check deliverability". Templates → design-email.
  • 100agent-email-specialist
    Specialist subagent: Transactional email (Resend, SES, SendGrid), email templates (React Email, MJML), and deliverability specialist. Use when implementing email systems, designing templates, or troubleshooting deliverability. Trigger phrases: email, transactional, Resend, SES,…
  • 100email-systems
    Transactional email (Resend, SendGrid, SES), templates (React Email, MJML), deliverability (SPF/DKIM/DMARC), and inboxing best practices. Use when building email infrastructure, designing templates, or troubleshooting deliverability.
  • 85email
    Email marketing and automation skills. ESP setup (HubSpot, Klaviyo, Mailchimp), lifecycle campaigns, segmentation, deliverability (SPF/DKIM/DMARC), template design, A/B testing. Triggers on: email marketing, newsletter, drip campaign, automation, deliverability, segmentation,…
  • 100email-deliverability
    Sets up and monitors email deliverability infrastructure including SPF, DKIM, DMARC configuration, warmup strategy, reputation monitoring, bounce and complaint handling, and ongoing deliverability health. Use when the user asks about email deliverability, SPF/DKIM/DMARC setup,…
  • 90email-marketing-ops
    Email marketing operations and automation for B2B SaaS. Use this skill for newsletter strategy, email automation sequences, lifecycle campaigns, nurture workflows, onboarding sequences, deliverability optimization, email copywriting, lead scoring, marketing automation platform…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.