email-sequence

email-sequence is a command for Claude Code from indranilbanerjee/digital-marketing-pro. It costs 19 tokens per session (1,196 once invoked), scanned A, original, MIT.

A command for designing a series of marketing emails sent according to a planned sequence.

In plain words
What is it for?
Creating welcome, onboarding, sales, re-engagement, cart-abandonment, post-purchase, event, and promotional email sequences.
Why use it?
It removes the need to work out each message, audience rule, timing decision, and follow-up path separately.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../CONNECTORS.md)..

Part of the digital-marketing-pro plugin — 154 skills, 18 commands, 24 agents shipped together

Good fit Creating welcome, onboarding, sales, re-engagement, cart-abandonment, post-purchase, event, and promotional email sequences.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/indranilbanerjee/digital-marketing-pro
agentmods
npx agentmods add commands/indranilbanerjee/digital-marketing-pro/email-sequence

Made for: Claude Code.

Or install digital-marketing-pro, the plugin that ships this one along with the rest of its 154 skills, 18 commands, 24 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for email-sequence

README.md
[![agentmods](https://agentmods.dev/badge/commands/indranilbanerjee/digital-marketing-pro/email-sequence/github.svg)](https://agentmods.dev/commands/indranilbanerjee/digital-marketing-pro/email-sequence)
Your own site
<a href="https://agentmods.dev/commands/indranilbanerjee/digital-marketing-pro/email-sequence"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/digital-marketing-pro/email-sequence/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for email-sequence

Your own site · 80×15
<a href="https://agentmods.dev/commands/indranilbanerjee/digital-marketing-pro/email-sequence"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/digital-marketing-pro/email-sequence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,196 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.01196
Opus 5 $0.00010 $0.00598
Sonnet 5 $0.00004 $0.00239
Haiku 4.5 $0.00002 $0.00120

Measured 10d ago against content hash c0a4334fe446, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

email-sequence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/email-sequence.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Email Sequence

If you see unfamiliar placeholders or need to check which tools are connected, see 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 /digital-marketing-pro: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

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 135 lines · 19 tokens per session scan A c0a4334fe446

Subscribe to this mod's changes

email-sequence is a command published in the GitHub repository indranilbanerjee/digital-marketing-pro (801 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 1,196 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.