email-sequence
Design complete email sequences with subject lines, body copy, timing, segmentation, and deliverability guidance
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/indranilbanerjee/digital-marketing-pro/HEAD/commands/email-sequence.md -o ~/.claude/commands/email-sequence.mdemail-sequence.md
# Email Sequence > If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../CONNECTORS.md). Design a complete email sequence ready for implementation in any ESP. Includes subject lines with A/B variants, preview text, full body copy, send timing with cadence logic, segmentation rules, branching conditions, personalization tokens, and deliverability best practices. ## Trigger User runs `/email-sequence` or asks to create an email drip, email flow, nurture sequence, welcome series, re-engagement campaign, or cart abandonment flow. ## Inputs Gather the following from the user. If not provided, ask before proceeding: 1. **Sequence type** — one of: - Welcome series (new subscriber/user) - Nurture sequence (move leads down funnel) - Onboarding (activate new users/customers) - Re-engagement (win back inactive subscribers) - Cart abandonment (recover lost purchases) - Post-purchase (retention, upsell, review request) - Event-based (webinar, product launch, seasonal) - Promotional (sale, offer, limited-time) 2. **Goal** — what the sequence should achieve (activate, convert, retain, upsell, educate, re-engage) 3. **Audience segment** — who receives this sequence and what triggers entry (signup, purchase, inactivity period, cart event, etc.) 4. **Number of emails** — desired count, or let the system recommend based on sequence type 5. **Key messages or offers** — core value propositions, promotions, or content to include 6. **ESP** (optional) — platform in use (Klaviyo, Mailchimp, HubSpot, SendGrid, Customer.io) for format and feature guidance ## Brand Voice - If a brand profile exists, apply voice settings automatically - Load email-specific tone overrides from guidelines if available - Apply compliance rules (CAN-SPAM, GDPR, CASL) based on brand's target markets ## Sequence Design ### Sequence Architecture - Map the sequence to the customer journey stage - Define the narrative arc (introduction → value → proof → conversion) - Determine optimal email count based on sequence type: - Welcome: 3-5 emails over 7-14 days - Nurture: 5-8 emails over 3-6 weeks - Onboarding: 4-7 emails over 14-30 days - Re-engagement: 3-4 emails over 7-14 days - Cart abandonment: 3 emails over 3 days - Post-purchase: 3-5 emails over 30-60 days - Define send cadence and timing logic ### Per-Email Blueprint For each email in the sequence: **Subject Lines:** - 2-3 subject line options per email - Character counts (aim for 30-50 characters for mobile) - Preview text that complements (not repeats) the subject - A/B testing recommendations **Body Copy:** - Opening hook tied to the sequence narrative - Body content with clear hierarchy and scannable formatting - Single primary CTA (button text + destination) - Secondary CTA (optional, text link) - Personalization tokens (first name, company, product, behavior-based) - Dynamic content blocks (based on segment attributes) **Timing:** - Send delay from trigger or previous email - Best send time recommendation (day of week, time of day) - Timezone handling notes ### Segmentation and Branching Logic - Entry trigger conditions - Branching rules based on engagement (opened, clicked, converted) - Exit conditions (converted, unsubscribed, completed sequence) - Suppression rules (already purchased, already in another sequence) ### Deliverability Checklist For each email, verify: - No spam trigger words in subject or body - Link density appropriate (not too many links) - Image-to-text ratio balanced - Unsubscribe link present and functional - Physical address included (CAN-SPAM) - Authentication reminders (SPF, DKIM, DMARC) - List hygiene recommendations ## Output Format ### Sequence Overview - Sequence name, type, and goal - Target audience and entry trigger - Email count and total duration - Expected performance benchmarks for the sequence type ### Email-by-Email Breakdown | Email # | Subject Line | Send Timing | Goal | Primary CTA | |---------|-------------|-------------|------|-------------| Followed by full copy for each email. ### Flow Diagram - Visual representation of the sequence flow with branching logic - Entry → Email 1 → Wait → Email 2 → Branch (opened/not opened) → etc. ### Performance Benchmarks | Metric | Industry Average | Target | |--------|-----------------|--------| Include: open rate, click rate, conversion rate, unsubscribe rate per email. ## After the Sequence Ask: "Would you like me to: - Set up this sequence in your ESP? (`/send-email-campaign`) - Create A/B test variants for the subject lines? (`/prompt-test`) - Design a complementary re-engagement flow for non-openers? - Build landing pages for the CTA destinations? (`/content-engine`) - Add SMS touchpoints alongside the emails? (`/send-sms`) - Review deliverability setup for your domain? (`/email-sequence` with deliverability focus)"
Invoke when the user needs to manage multiple client brands, view portfolio-level dashboards, generate client reports, manage SOPs, switch credential profiles, assign team tasks, configure regions, or generate executive summaries. Triggers on requests involving multi-client management, agency workflows, client onboarding, or portfolio oversight.
Invoke when the user needs help with marketing measurement, KPI definition, dashboard design, attribution modeling, performance analysis, anomaly detection, competitive benchmarking, or translating data into marketing decisions. Triggers on requests involving metrics, reporting, analytics setup, or data interpretation.
Invoke when marketing content needs quality control review — brand voice consistency checks, regulatory compliance verification (GDPR, CAN-SPAM, CCPA, HIPAA, FTC, industry-specific), accessibility auditing (WCAG 2.1), inclusive language review, or brand safety assessment. Automatically invoked as a final review step before any content is published or delivered.
Invoke when the user needs competitor analysis — content strategy teardowns, SEO gap analysis, paid ad analysis from ad libraries, social media benchmarking, AI visibility comparisons, pricing and positioning research, or market landscape mapping. Triggers on requests mentioning competitors, competitive gaps, market analysis, or benchmarking.
Use when the task requires ongoing competitive monitoring, competitor change detection, share of voice tracking, competitive alerts, ad monitoring, price monitoring, win/loss analysis, or competitive narrative mapping.
Invoke when the user needs any form of marketing content created or refined — blog posts, ad copy, email campaigns, social media posts, landing page copy, press releases, video scripts, product descriptions, or newsletter content. Triggers on requests to write, draft, rewrite, or improve marketing copy.
Invoke when the user needs to manage CRM operations — creating contacts, importing leads, updating deals, syncing campaign data, segmenting audiences, managing pipelines, or connecting marketing data to Salesforce, HubSpot, Zoho, or Pipedrive. Triggers on requests involving CRM data, lead management, pipeline updates, or sales-marketing alignment.
Invoke when the user needs help with conversion rate optimization — landing page audits, A/B test design, form optimization, pricing page strategy, checkout flow improvement, personalization, statistical significance calculations, page speed impact analysis, or mobile conversion optimization. Triggers on requests involving conversions, landing pages, A/B testing, or optimization experiments.