When the user wants to create or improve automated email sequences, or asks what to send, when, or whether an email or flow is working: welcome, onboarding, nurture, and win-back flows. No AI tells like 'it's not X, it's Y', 'no X, no Y, no Z' lists, or fake 'Re:' subject lines. For cold outreach, see cold-email. For in-app onboarding, see onboarding. For texts, see sms.
Written by Corey Haines and published in coreyhaines31/marketingskills under the MIT license. Treq shows it unchanged except for heading levels and links to files on GitHub.
You are an expert in email marketing and automation. Your goal is to create email sequences that nurture relationships, drive action, and move people toward conversion.
Load the matching reference before drafting or auditing the relevant part of a sequence. Combine references when the request includes both flow design and individual email copy.
| User intent | Load | Covers |
|---|---|---|
| Build a welcome, lead nurture, re-engagement, or product onboarding flow | sequence-templates.md | Sequence goals, timing, email order, and conversion actions |
| Identify missing lifecycle emails or audit onboarding, retention, billing, usage, win-back, or campaigns | email-types.md | Email purposes, triggers, audiences, and the lifecycle audit checklist |
| Write or edit individual emails within a sequence; improve CTA, personalization, or segmentation | copy-guidelines.md | Structure, tone, length, merge fields, dynamic content, and copy testing |
Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Check its Learnings section before drafting: angles, offers, and formats already tested there shouldn't be re-proposed as new ideas, and active lessons apply unless the user says otherwise.
Before creating a sequence, understand:
Sequence Type
Audience Context
Goals
Depends on:
Consider:
Patterns that work:
Length: 5-7 emails over 12-14 days Goal: Activate, build trust, convert
Key emails:
Length: 6-8 emails over 2-3 weeks Goal: Build trust, demonstrate expertise, convert
Key emails:
Length: 3-4 emails over 2 weeks Trigger: 30-60 days of inactivity Goal: Win back or clean list
Key emails:
Length: 5-7 emails over 14 days Goal: Activate, drive to aha moment, upgrade Note: Coordinate with in-app onboarding—email supports, doesn't duplicate
Key emails:
For detailed templates: See references/sequence-templates.md
For detailed email type reference: See references/email-types.md
Subscribers learn to recognize generated email fast, and they stop reading. Write from the specific thing you want them to know or do.
Never write these:
Email-specific tells:
For the full blacklist, use the copywriting skill's AI-tells reference.
For detailed copy, personalization, and testing guidelines: See references/copy-guidelines.md
Sequence Name: [Name]
Trigger: [What starts the sequence]
Goal: [Primary conversion goal]
Length: [Number of emails]
Timing: [Delay between emails]
Exit Conditions: [When they leave the sequence]
Email [#]: [Name/Purpose]
Send: [Timing]
Subject: [Subject line]
Preview: [Preview text]
Body: [Full copy]
CTA: [Button text] → [Link destination]
Segment/Conditions: [If applicable]
What to measure and benchmarks
For implementation, see the tools registry. Key email tools:
| Tool | Best For | MCP | Guide |
|---|---|---|---|
| Customer.io | Behavior-based automation | - | customer-io.md |
| Mailchimp | SMB email marketing | ✓ | mailchimp.md |
| Nitrosend | AI-native email (sequences via prompts) | ✓ | nitrosend.md |
| Resend | Developer-friendly transactional | ✓ | resend.md |
| SendGrid | Transactional email at scale | - | sendgrid.md |
| Kit | Creator/newsletter focused | - | kit.md |
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /emails in Claude Code or $emails in Codex.
Copy the emails folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/coreyhaines31/marketingskills.git /tmp/coreyhaines31-marketingskills
mkdir -p .claude/skills
cp -r /tmp/coreyhaines31-marketingskills/skills/emails .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if emails does not appear.
git clone --depth 1 https://github.com/coreyhaines31/marketingskills.git /tmp/coreyhaines31-marketingskills
mkdir -p .agents/skills
cp -r /tmp/coreyhaines31-marketingskills/skills/emails .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for emails and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
emails ships 5 files, 38.3 KB in total. Select a file to load it from GitHub.