Repository
CosmoBlk

CosmoBlk/email-marketing-bible

Email marketing skill for AI agents, by George Hartley (founded SmartrMail). Plans, writes, audits and sends email with hard send-safety gates. Works in Claude, ChatGPT, Codex and Cursor. Free, MIT, vendor-neutral.

391stars
47forks
0issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: deliverability

#1 Repository of the week

2
TINIX TRENDING·Topic: email-marketing

#2 Repository of the week

3
TINIX TRENDING·Topic: marketing-automation

#3 Repository of the week

Email Marketing Bible

The AI email automation skill for Claude, ChatGPT, and any agent.

Install it and your AI stops guessing about email. It audits your setup, builds your flows from a prompt, drafts copy in your voice (not slop), tells you why you are in spam, and runs your ESP through MCP, with a hard rule that nothing blasts without your say-so.

Built from 908 sources and the experience of running SmartrMail (email marketing SaaS, ~28,000 customers, 6 billion emails, acquired 2022). 17 chapters, 19 industry playbooks, 47 curated email designs. Free and open source.

Why this exists

Most email marketing advice is surface-level. "Personalise your subject lines." "Segment your list." "A/B test everything." You have heard it. It does not help when you are staring at a 2% open rate, or when you have just handed an AI agent the keys to your sending account and it is about to industrialise your mistakes.

In 2026 the job changed. Agents now build the campaign, segment the audience, draft the copy, and stage the send. The marketer is the director, not the operator. That only works if the agent is working from real benchmarks and hard guardrails instead of vibes. This skill is that discipline layer: the patterns that repeat across industries, the mistakes that destroy deliverability, the anti-slop rules that keep AI output from reading like AI output, and the send-safety gates that keep one prompt from mailing the wrong thing to your whole list.

Every claim is backed by data. No theory, no filler.

Install

git clone https://github.com/CosmoBlk/email-marketing-bible.git ~/.claude/skills/email-marketing-bible

One command. Your AI now has the full knowledge base. Works wherever you run skills (Claude Code, Claude Desktop, and agents that read the skill format).

What the skill does

Once installed, your AI can:

TaskWhat it does
Run email automationBuild welcome, cart, post-purchase, and win-back flows from a prompt, then review exits, timing, and copy before anything goes live
Audit your setupReview flows, segments, deliverability, and compliance, and tell you exactly what is missing
Draft and de-slop copyWrite emails with proven frameworks (PAS, AIDA, BAB) and strip the AI tells before send
Design anti-slop emailsOwn a colour, real imagery, live-text headlines, generated into inbox-safe MJML or React Email, dark-mode and mobile checked
Drive your ESP from AIOperate Klaviyo, Resend, beehiiv, Mailchimp, Omnisend, or nitrosend through MCP and connectors, with pre-send safety gates
Fix deliverabilityDiagnose inbox placement with a step-by-step triage covering authentication, reputation, content, and the AI-mediated inbox (Gemini summaries, open rate as noise)
Pull industry benchmarksOpen, click, conversion, and revenue-per-email figures for your specific vertical
Compare platformsHonest comparison by list size, budget, and whether you want to run it from an agent, not affiliate commissions
Review complianceGDPR, CAN-SPAM, CASL, CCPA, and the Australian Spam Act, as a decision gate before any send
Write cold emailCold sequences with proper infrastructure separation, warming, and personalisation

How to use it

Install the skill, then talk to your AI like an email marketing consultant.

Audit and build:

"Audit my Klaviyo account for a DTC skincare brand doing $2M/year. I have a
welcome series, abandoned cart, and one weekly newsletter. What am I missing,
and build me whatever flow would earn the most first."

Fix a problem:

"My emails are landing in Gmail promotions and opens dropped from 22% to 14%
over three months. What is going on and how do I fix it?"

De-slop:

"Here is a draft welcome email. Make it sound like a person, not an AI, and
keep it on our brand voice."

Design:

"Design a launch email for a premium coffee brand. Own a colour, real product
photography, generate it as MJML so it renders everywhere."

The skill is structured in two parts: an operating manual (when the AI is acting: building, sending, diagnosing, designing) and a dense reference (benchmarks, frameworks, playbooks). Your AI reads the manual to operate and drops into the reference for facts.

What is inside the knowledge base

17 chapters

#ChapterWhat you get
1The FundamentalsWhy email wins, the stack, key metrics, the AI-mediated inbox
2Building Your ListOrganic growth, popups, opt-in, spam traps, validation
3Segmentation & PersonalisationEngagement tiers, AI-built segments, 1:1 content from behaviour
4The Emails That Make MoneyWelcome, cart, post-purchase, win-back, and building flows with AI
5Copywriting That ConvertsSubject lines, frameworks, CTAs, and the anti-slop copy protocol
6Design & TechnicalMobile, dark mode, accessibility, anti-slop and prompted design
7DeliverabilitySPF, DKIM, DMARC, BIMI, reputation, warming, autonomous-send safety
8Testing & OptimisationA/B testing, significance, send-time, testing AI-assisted email
9Analytics & MeasurementKPIs by type, attribution, querying your data with AI
10Compliance & PrivacyGDPR, CAN-SPAM, CASL, CCPA, AU Spam Act, AI accountability
11Industry PlaybooksTactics for 19 verticals (see below)
12Choosing Your PlatformHonest comparison, including which tools an agent can actually drive
13Cold Email & B2B OutboundInfrastructure, writing, follow-up, AI in outbound
14AI Email AutomationThe operating model, agent guardrails, MCP and connectors, what to automate
15Company Case StudiesHow Casper, Morning Brew, Duolingo, Spotify, and others use email
16Expert DirectoryThe practitioners referenced throughout, who to follow and why
17Best Email Designs 202647 hand-curated emails with notes on why each works and what to steal

Plus four appendices: benchmarks by industry, frequency guide, marketing calendar, and methodology.

19 industry playbooks

Ecommerce DTC · SaaS B2B · SaaS B2C · Newsletter & Creator · Agency · Nonprofit · Healthcare · Financial Services · Real Estate · Travel & Hospitality · Education · Professional Services · Retail · Events · B2B Manufacturing · Restaurant & Food · Fitness · Media & Publishing · Marketplace & Platform

Expert contributors

Insights from practitioners including Chad S. White (Zeta Global), Joanna Wiebe (Copyhackers), Chase Dimond (Structured Agency), Nathan Barry (Kit), Ann Handley (MarketingProfs), Troy Ericson, Tyler Denk (beehiiv), Ben Settle, and many others. Full directory in Chapter 16.

Read the full guide

The complete Email Marketing Bible is at emailmarketingskill.com, searchable and browsable, with all 17 chapters and 4 appendices, plus a free PDF.

Research

908 sources across industry reports (Litmus, Klaviyo, HubSpot, Salesforce, Validity), practitioner blogs, podcasts and transcripts, platform documentation, and community discussions, refreshed mid-2026 with a focus on AI email automation.

Contributing

Found an error? Have better data? Know a tactic that is missing? Issues and PRs welcome. The more practitioners contribute, the better it gets.

License

MIT. Use it however you want.


Built by George Hartley. Follow for updates.

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryJavaScript
DietrichGebert/ponytail

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

203.5k
Nov 22, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

267.7k
Dec 2, 2026
RepositoryJavaScript
Leonxlnx/taste-skill

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

124.6k
Nov 26, 2026
RepositoryPython
blader/humanizer

Agent skill that removes signs of AI-generated writing from text

76.2k
Nov 19, 2026
RepositoryPython
zubair-trabzada/ai-marketing-claude

AI Marketing Suite for Claude Code. 15 marketing skills with parallel subagents — audit any website, generate copy, email sequences, ad campaigns, content calendars, competitive intelligence, and client-ready PDF reports.

3.0k
Mar 2, 2026
RepositoryGo
warmbly/warmbly

The largest open-source B2B cold outreach and email warmup service.

1.1k
Dec 2, 2026
RepositoryTypeScript
garrytan/gstack

Ship agent-written code you can trust: review, QA, a destructive-command guard and PRs that carry their own evidence, for Claude Code and other coding agents.

143.2k
Dec 1, 2026
RepositoryJavaScript
addyosmani/agent-skills

Production-grade engineering skills for AI coding agents.

122.0k
Nov 24, 2026