Command Palette

Search for a command to run...

UnylyUnyly
Browse all

HTML Email Playbook

FreeNot checked

Teaches AI to write HTML email that renders in Outlook, Gmail, and Apple Mail. 19 rules, 6 components.

GitHubEmbed

About

Teaches AI to write HTML email that renders in Outlook, Gmail, and Apple Mail. 19 rules, 6 components.

README

CI npm license MCP docs

Source for docs.osamahassouna.com — an engineering reference hub I keep open while building. Currently one guide is live, with more landing as I write them.

Live now

HTML Email Playbook

A working reference for hand-building HTML email templates that render reliably across Outlook (Windows desktop, 2007 through 365), Gmail web + mobile, Apple Mail, Yahoo Mail, and the long tail of clients that haven't moved past 2007.

Covers:

  • Structure — doctype, head boilerplate, body container, header / body / footer organization
  • Components — bulletproof CTA buttons (with Outlook VML fallback), spacing patterns, images, inline icons, background images, text
  • Compatibility — Outlook MSO conditional comments, RTL languages, hybrid responsive layouts
  • Production — Gmail 102KB clipping, dark mode, preheader text
  • AI Generation — rules and patterns for AI tools that generate playbook-compliant email HTML

Read it: docs.osamahassouna.com/email-playbook/

There's also a Playground at /email-playbook/playground/ with a live editor, instant preview, and a "From Image" tab that converts a design screenshot into playbook-compliant HTML.

Use the playbook in your AI workflow

The playbook is published as an MCP server + terminal CLI so AI clients (Claude Desktop, Cursor, Cline, etc.) can pull rules and component patterns directly into their reasoning. The model calls structured tools to fetch the exact patterns from the playbook instead of guessing from training data.

npm install -g email-playbook-mcp

Setup, tool reference, and Claude Desktop / Cursor config snippets: docs.osamahassouna.com/email-playbook/mcp/

There's also a hosted JSON-RPC endpoint at docs.osamahassouna.com/api/mcp if you'd rather not install anything.

License

MIT. Playbook content © Osama Hassouna · osamahassouna.com

from github.com/OsamaHassouna/docs-hub

Install HTML Email Playbook in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install html-email-playbook

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add html-email-playbook -- npx -y email-playbook-mcp

FAQ

Is HTML Email Playbook MCP free?

Yes, HTML Email Playbook MCP is free — one-click install via Unyly at no cost.

Does HTML Email Playbook need an API key?

No, HTML Email Playbook runs without API keys or environment variables.

Is HTML Email Playbook hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install HTML Email Playbook in Claude Desktop, Claude Code or Cursor?

Open HTML Email Playbook on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare HTML Email Playbook with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All communication MCPs