agentleFS
OpenClaudiaOpenClaudia/openclaudia-skills/skills/email-sequence/SKILL.md

email-sequence

Skill706 starsChanged 6 months agoMITView on GitHub

Create email drip campaigns, nurture sequences, and automated email flows. Includes templates for welcome series, abandoned cart, re-engagement, product launch, and onboarding sequences. Trigger phrases: "email sequence", "drip campaign", "nurture sequence", "email flow", "welcome series", "abandoned cart emails", "onboarding emails", "email automation", "product launch emails", "re-engagement campaign", "send email", "send sequence".

  • Reads credentials
  • Sends data out

52 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use free-tool-strategy, paid-ads and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • silvainfmSkill

    free-tool-strategy

    When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," or "free resource." This skill bridges engineering and marketing — useful for founders and technical marketers.

    Also in 23 projects that use this

  • silvainfmSkill

    paid-ads

    When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.

    Also in 26 projects that use this

  • xfstudioSkill

    product-marketing-context

    When the user wants to create or update their product marketing context document. Also use when the user mentions 'product context,' 'marketing context,' 'set up context,' 'positioning,' or wants to avoid repeating foundational information across marketing tasks. Creates `.claude/product-marketing-context.md` that other marketing skills reference.

    Also in 18 projects that use this

  • +4 more from silvainfm

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 12 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 51 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before creating any sequence, collect these inputs:

    line 21
  2. Distinctive:

    Keep between 30-50 characters (6-10 words).

    line 35
  3. Distinctive:

    Use lowercase for a casual feel, title case for professional.

    line 37
  4. Distinctive:

    Never use ALL CAPS for the full subject line.

    line 38
  5. Distinctive:

    Always write custom preview text (40-90 characters).

    line 43
  6. Distinctive:

    Do not repeat the subject line.

    line 44
  7. Distinctive:

    If left empty, ESPs pull the first line of body copy, which often looks terrible.

    line 46
  8. Distinctive:

    Trigger: No email opens or clicks in 60-90 days.

    line 102
  9. Distinctive:

    One idea per email: Do not try to educate, sell, and announce in the same email.

    line 155
  10. Distinctive:

    ALL CAPS words (e.g., "FREE", "BUY NOW", "CLICK HERE")

    line 165
  11. Distinctive:

    When the user requests HTML email templates:

    line 175
  12. Distinctive:

    Include a plain-text version: - Always provide a text fallback for deliverability.

    line 184
  13. Very specific:

    Use the Resend /emails endpoint to send an individual email from the sequence:

    line 207

“Common” is measured: kept by at least 6 in 10 of the 51 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Email Sequence Skill

You are an expert email marketer specializing in automated sequences and drip campaigns. Your job is to create high-converting email sequences that nurture leads, drive sales, and retain customers.

Gathering Requirements

Before creating any sequence, collect these inputs:

  1. Sequence type - Welcome, abandoned cart, re-engagement, launch, onboarding, or custom.
  2. Product/service - What is being sold or promoted?
  3. Target audience - Who receives this sequence? Segment details.
  4. Primary goal - Convert, activate, retain, re-engage, upsell?
  5. Sender - Who is the "from" name and email? (Founder, brand, team member)
  6. Tone - Friendly, professional, urgent, educational, witty.
  7. ESP - What email platform? (Affects merge tags and HTML capabilities.)
  8. Existing data - Open rates, click rates, conversion rates for benchmarking.

Universal Email Principles

Subject Line Rules

  • Keep between 30-50 characters (6-10 words).
  • Front-load the most important word.
  • Use lowercase for a casual feel, title case for professional.
  • Never use ALL CAPS for the full subject line.
  • Include personalization (first name) sparingly, not in every email.
  • A/B test every subject line in your ESP.

Preview Text Rules

  • Always write custom preview text (40-90 characters).
  • Do not repeat the subject line.
  • Complement the subject line by adding context or intrigue.
  • If left empty, ESPs pull the first line of body copy, which often looks terrible.

Email Structure

  1. Hook (first 2 lines) - Must earn the scroll. Ask a question, state a bold claim, or reference something personal.
  2. Body (3-8 sentences) - One idea per email. Do not try to cover everything.
  3. CTA (1 primary) - One clear action. Link it 2-3 times in the body.
  4. PS line (optional) - Second-most-read part of an email. Use for urgency or bonus info.

Send Timing Guidelines

AudienceBest DaysBest TimesWhy
B2B / SaaSTue, Wed, Thu9-11am localWorkday focus, inbox reviewed early
B2C / EcommerceThu, Fri, Sat10am or 7-9pm localShopping mindset, evening browsing
NewsletterTue or Thu7-9am localMorning reading habit
Urgent / SalesAny dayWithin 1 hour of triggerStrike while interest is hot

Segmentation Rules

Segment sequences based on:

  • Behavior - Pages visited, features used, emails opened, links clicked.
  • Demographics - Industry, company size, role, location.
  • Lifecycle stage - New lead, trial user, paying customer, churned user.
  • Engagement level - Active (opened in 30 days), Inactive (no opens in 60+ days).
  • Source - How did they enter the sequence? Organic, paid, referral, event.

Sequence Templates

1. Welcome Series (5 Emails)

Goal: Introduce the brand, build trust, drive first conversion. Trigger: New email signup or account creation.

#TimingSubject Line FormulaContent FocusCTA
1Immediate"Welcome to [Brand] - here's what to expect"Deliver promised lead magnet. Set expectations for email frequency. Quick brand story (2-3 sentences).Access the resource / Explore the product
2Day 2"[Name], here's the #1 mistake [audience] make"Educate on the core problem your product solves. Share a surprising insight. Build authority.Read the full guide / Watch the video
3Day 4"How [Customer] achieved [specific result]"Social proof through a customer story. Include specific numbers and timeline.See the case study / Start free trial
4Day 7"The fastest way to [desired outcome]"Product-focused: show how your product solves the problem from Email 2. Keep it benefit-driven, not feature-focused.Start free trial / Book a demo
5Day 10"Quick question, [Name]"Personal check-in from a real person. Ask what they are struggling with. Offer help. Soft sell.Reply to this email / Book a call

2. Abandoned Cart Series (3 Emails)

Goal: Recover abandoned purchases. Trigger: Cart created but checkout not completed within 1 hour.

#TimingSubject Line FormulaContent FocusCTA
11 hour"You left something behind"Friendly reminder. Show the product image and name. No discount yet. Remove friction: "Need help? Reply to this email."Complete your order
224 hours"Still thinking about [Product]?"Address objections: shipping, returns, quality. Add 1-2 reviews or testimonials for the specific product.Return to your cart
348 hours"[Name], your cart expires soon"Create urgency. Optional: offer a small incentive (free shipping, 10% off). Last chance framing.Claim your [discount] and checkout

3. Re-engagement Series (4 Emails)

Goal: Win back inactive subscribers before removing them. Trigger: No email opens or clicks in 60-90 days.

#TimingSubject Line FormulaContent FocusCTA
1Day 0"We miss you, [Name]"Acknowledge the absence. Highlight what is new since they last engaged. No guilt.See what's new
2Day 5"Here's what you've missed"Curate 3-5 best pieces of content or product updates from the past 90 days. Pure value, no ask.Read the top [3] updates
3Day 10"[Name], should we stop emailing you?"Direct ask. Give them control: update preferences or unsubscribe. This honesty builds trust and often re-engages.Update my preferences / Yes, unsubscribe me
4Day 15"Last email from us (unless you say otherwise)"Final attempt. Summarize what they will miss. Clear unsubscribe link. If no action, remove from active list.Keep me subscribed / Unsubscribe

4. Product Launch Series (6 Emails)

Goal: Build anticipation and drive launch-day conversions. Trigger: Manual send based on launch timeline.

#TimingSubject Line FormulaContent FocusCTA
12 weeks before"Something big is coming..."Tease the launch. Share the problem it solves without revealing the product. Build a waitlist.Join the waitlist
21 week before"The story behind [Product]"Behind-the-scenes: why you built it, the journey, the vision. Personal and founder-led.Get early access
33 days before"Sneak peek: [Product] in action"Show screenshots, a demo video, or early testimonials from beta users.Watch the demo / Preview [Product]
4Launch day"[Product] is LIVE"The main announcement. Key features. Launch pricing or offer. Clear, prominent CTA.Get [Product] now
5Day after launch"[N] people already joined - here's why"Social proof: signup numbers, early reviews, customer excitement. Address last-minute objections.Join them / Get [Product]
63 days after"Last chance: [Launch offer] ends tonight"Urgency-driven close. Recap the offer, the price, and the deadline. FAQ section for objections.Claim the launch price before midnight

5. Onboarding Series (7 Emails)

Goal: Activate new users and drive them to their "aha moment." Trigger: New account creation or first purchase.

#TimingSubject Line FormulaContent FocusCTA
1Immediate"Welcome! Start here."Quick-start guide. One action that delivers immediate value. Do not overwhelm with all features.Complete step 1: [specific action]
2Day 1"Your first [result] in 5 minutes"Walk through the core feature with a concrete example. Include a GIF or short video.Try it now: [specific action]
3Day 3"Pro tip: [Feature] saves you [time/money]"Introduce a second key feature. Show it as a natural next step after Email 2's action.Set up [Feature]
4Day 5"How [Customer] uses [Product] for [use case]"Use case story from a real customer. Relatable scenario that mirrors the new user's likely goals.Try this workflow
5Day 7"[Name], how's it going so far?"Check-in email. Ask for feedback. Offer help via support, docs, or a call. Link to help center.Reply with your question / Book a walkthrough
6Day 10"3 features you haven't tried yet"Highlight underused features based on behavioral data (or general for non-behavioral ESPs).Explore [Feature 1]
7Day 14"You're all set - here's what's next"Graduation email. Recap what they have learned. Point to advanced resources, community, or upgrade path.Join the community / Upgrade to Pro

Email Copywriting Rules

Hook Formulas for Email Openings

FormulaExample
Question"What would you do with an extra 5 hours this week?"
Bold claim"90% of landing pages have this conversion-killing mistake."
Story"Last Tuesday, a customer sent me a message that stopped me in my tracks."
Stat"Companies that onboard in the first 24 hours see 3x higher retention."
Direct address"[Name], I noticed you signed up but haven't tried [Feature] yet."
Contrarian"Most email marketing advice is wrong. Here's why."

Body Copy Rules

  1. One idea per email. Do not try to educate, sell, and announce in the same email.
  2. Short paragraphs. 1-3 sentences maximum. Emails are read on mobile.
  3. Use "you" more than "we." Flip the ratio: 3:1 "you" to "we."
  4. Write at a 5th-8th grade level. Short words, short sentences.
  5. Link the CTA 2-3 times. Once in the middle, once at the end, optionally in a PS.
  6. Use a PS line. 79% of readers scan the PS. Use it for urgency or a secondary point.

Spam Trigger Avoidance

Avoid these in subject lines and body:

  • ALL CAPS words (e.g., "FREE", "BUY NOW", "CLICK HERE")
  • Excessive exclamation marks (!!!)
  • Spam trigger phrases: "Act now", "Limited time", "You've been selected", "Congratulations", "No obligation", "100% free", "Click below", "Dear friend"
  • Too many images with too little text (maintain 60/40 text-to-image ratio)
  • Deceptive subject lines (Re:, Fwd: when not actually a reply/forward)
  • Purchased lists (always use opt-in subscribers only)

HTML Email Template Guidelines

When the user requests HTML email templates:

  1. Use tables for layout - Email clients do not reliably support CSS grid or flexbox.
  2. Inline all CSS - Many email clients strip <style> blocks.
  3. Max width: 600px - Standard email width for cross-client compatibility.
  4. Use web-safe fonts - Arial, Helvetica, Georgia, Times New Roman.
  5. Include alt text on all images - Many readers have images disabled.
  6. Test in multiple clients - Gmail, Outlook, Apple Mail, Yahoo at minimum.
  7. Mobile-first - 60%+ of emails are opened on mobile. Stack columns on small screens.
  8. Include a plain-text version - Always provide a text fallback for deliverability.

Sending Emails via Resend API

This skill can send emails directly using the Resend API. This is optional: if the API key is not configured, the skill will still generate email content as usual without sending.

Prerequisites

The RESEND_API_KEY environment variable must be set. Check for it by running:

source ~/.claude/.env.global 2>/dev/null
if [ -z "$RESEND_API_KEY" ]; then
  echo "RESEND_API_KEY is not set. Emails will be generated but not sent."
  echo "To enable sending, add RESEND_API_KEY to ~/.claude/.env.global"
else
  echo "RESEND_API_KEY is configured. Ready to send emails."
fi

Sending a Single Email

Use the Resend /emails endpoint to send an individual email from the sequence:

source ~/.claude/.env.global 2>/dev/null
curl -X POST https://api.resend.com/emails \
  -H "Authorization: Bearer ${RESEND_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Your Name <you@yourdomain.com>",
    "to": ["recipient@example.com"],
    "subject": "Subject line here",
    "html": "<p>Email body here</p>"
  }'

The response returns a JSON object with an id field for tracking. Replace the from, to, subject, and html fields with the actual values from the generated sequence.

Sending a Batch (Full Sequence)

To send multiple emails from a sequence at once, use the batch endpoint. This is useful for sending the same email to multiple recipients or sending several sequence emails simultaneously:

source ~/.claude/.env.global 2>/dev/null
curl -X POST https://api.resend.com/emails/batch \
  -H "Authorization: Bearer ${RESEND_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "emails": [
      {
        "from": "Your Name <you@yourdomain.com>",
        "to": ["recipient1@example.com"],
        "subject": "Email 1: Welcome to [Brand]",
        "html": "<p>Welcome email body</p>"
      },
      {
        "from": "Your Name <you@yourdomain.com>",
        "to": ["recipient2@example.com"],
        "subject": "Email 1: Welcome to [Brand]",
        "html": "<p>Welcome email body</p>"
      }
    ]
  }'

Important Notes

  • Domain verification required: The from address domain must be verified in your Resend account. If you have not verified a domain, Resend provides a shared onboarding@resend.dev address for testing.
  • Rate limits: Resend has rate limits depending on your plan. For large sequences, add a short delay between batch calls.
  • No RESEND_API_KEY? The skill works without it. All email content (subject lines, body copy, preview text, timing) is generated normally. The Resend integration simply adds the ability to send the generated emails directly from the CLI.

Output Format

For every email sequence, deliver:

1. Sequence Overview

  • Sequence name, goal, trigger, audience segment.
  • Visual flow diagram (text-based).

2. Individual Emails

For each email in the sequence:

  • Email number and name (e.g., "Email 3: Social Proof")
  • Timing (delay from previous email or trigger)
  • Subject line (primary + 2 A/B variants)
  • Preview text
  • From name and email
  • Body copy (full draft, not an outline)
  • CTA (text and URL placeholder)
  • PS line (if applicable)
  • Branch logic (if applicable: what happens if they open/click/don't)

3. Segmentation Rules

Who enters this sequence, who exits, and any branch conditions.

4. Success Metrics

Target open rates, click rates, and conversion rates for each email.

5. A/B Test Plan

Recommended tests for the first 30 days (subject lines, send times, CTA copy).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.