io.github.OsamaHassouna/email-playbook-mcp
Official4 toolsby OsamaHassouna · MDX
HTML Email Playbook
Teaches AI to write HTML email that renders in Outlook, Gmail, and Apple Mail. 19 rules, 6 comps.
Teaches HTML email formatting rules for rendering across Outlook, Gmail, and Apple Mail.
Topics
Captured live from the server via tools/list.
list_categories
List all rule categories in the Email Playbook with a one-line description and page count. Categories are: structure (head/body container/header/body/footer), compatibility (Outlook MSO, RTL, responsive), production (Gmail clipping, dark mode, preheader, bulletproof buttons), ai-generation (constraints for AI emitters). For reusable components, use list_components instead — they live in a separate dimension and are not returned by get_playbook_rules.
No parameters.
get_playbook_rules
Return the full rule pages for a given category. Each rule includes the title, description, markdown body explaining the rule, and any HTML/CSS code examples from the playbook. Use this to teach a model the exact patterns for a specific concern (e.g., responsive layout).
Parameters (1)
- categorystringrequired
Which rule category to fetch.
list_components
List all reusable email components in the playbook with their metadata: name, subcategory (layout/media/interactive/text), description, whether they require Outlook VML, and whether they are responsive. Use this first to discover what components exist before calling get_component.
No parameters.
get_component
Return the full record for a single component: title, description, narrative body, the primary HTML pattern, list of slots (placeholders the model should fill), VML/responsive flags, and all code examples. Use after list_components to fetch the actual HTML pattern to paste into an email.
Parameters (1)
- namestringrequired
Component name. Get the list from list_components first.
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"email-playbook-mcp": {
"command": "npx",
"args": [
"-y",
"email-playbook-mcp@0.6.3"
]
}
}
}