HTML Email Playbook
MCP server by OsamaHassouna Community
HTML Email Playbook is an MCP server that gives AI assistants rules and component patterns for building HTML email. It is for developers who need email templates to render in Outlook, Gmail, and Apple Mail.
Install HTML Email Playbook
Built from the published package, never by AI.
claude mcp add html-email-playbook -- npx -y email-playbook-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"html-email-playbook": {
"args": [
"-y",
"email-playbook-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"html-email-playbook": {
"args": [
"-y",
"email-playbook-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"html-email-playbook": {
"args": [
"-y",
"email-playbook-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add html-email-playbook -- npx -y email-playbook-mcp{
"mcpServers": {
"html-email-playbook": {
"args": [
"-y",
"email-playbook-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install HTML Email Playbook in Antigravity CLI
gemini mcp add html-email-playbook npx -y email-playbook-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the html-email-playbook block.
About
HTML Email Playbook is a reference for hand-building HTML email templates that render reliably across Outlook (Windows desktop, 2007 through 365), Gmail web and mobile, Apple Mail, Yahoo Mail, and older clients. It covers document structure, components such as bulletproof CTA buttons with an Outlook VML fallback, compatibility topics like Outlook MSO conditional comments and RTL languages, production issues such as Gmail 102KB clipping and dark mode, and rules for AI tools that generate email HTML.
The playbook is published as an MCP server and terminal CLI, installed with npm as email-playbook-mcp. AI clients such as Claude Desktop, Cursor, and Cline can call its tools to fetch exact patterns instead of guessing from training data. A hosted JSON-RPC endpoint is also available for those who prefer not to install anything. It is aimed at people building HTML email templates, with or without AI assistants.
Written from the project's README and checked against it.
What you need
- npm, to install the email-playbook-mcp package
Try asking
- Write a bulletproof CTA button with an Outlook VML fallback.
- Check my email HTML for Gmail 102KB clipping risks.
- Add dark mode and preheader text to this newsletter template.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Building HTML email templates that render in Outlook
- Fixing Gmail clipping and dark mode issues in email
- Giving AI assistants email HTML patterns to follow
Alternatives to HTML Email Playbook
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
HTML Email Playbook: common questions
Which email clients does the playbook cover?
The source says it covers Outlook (Windows desktop, 2007 through 365), Gmail web and mobile, Apple Mail, Yahoo Mail, and older clients that have not moved past 2007.
How does the MCP server help an AI assistant?
The model calls structured tools to fetch exact patterns from the playbook instead of guessing from training data.
Can I use it without installing anything?
Yes. The source says a hosted JSON-RPC endpoint is available at docs.osamahassouna.com/api/mcp.
How do I install HTML Email Playbook?
In Claude Code run claude mcp add html-email-playbook -- npx -y email-playbook-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is HTML Email Playbook the official server?
HTML Email Playbook is a community project by OsamaHassouna, not verified by a company domain.
Is HTML Email Playbook free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is HTML Email Playbook safe to use?
It scores 68 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to HTML Email Playbook?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does HTML Email Playbook work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
