https://github.com/osamahassouna/docs-hub
Engineering hub for production-grade specs. First guide: HTML Email Playbook + MCP server / CLI that teaches AI clients (Claude Desktop, Cursor) to write email that actually renders in Outlook + Gmail.
https://github.com/osamahassouna/docs-hub
ai-tools claude codex cursor email gmail html-email mcp outlook
Last synced: 5 days ago
JSON representation
Engineering hub for production-grade specs. First guide: HTML Email Playbook + MCP server / CLI that teaches AI clients (Claude Desktop, Cursor) to write email that actually renders in Outlook + Gmail.
- Host: GitHub
- URL: https://github.com/osamahassouna/docs-hub
- Owner: OsamaHassouna
- Created: 2026-05-21T20:40:57.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2026-05-29T19:24:40.000Z (5 days ago)
- Last Synced: 2026-05-29T20:19:39.998Z (5 days ago)
- Topics: ai-tools, claude, codex, cursor, email, gmail, html-email, mcp, outlook
- Language: TypeScript
- Homepage: https://docs.osamahassouna.com
- Size: 845 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Osama Hassouna · Docs
[](https://www.npmjs.com/package/email-playbook-mcp)
[](#license)
[](https://modelcontextprotocol.io/)
[](https://docs.osamahassouna.com)
Source for [`docs.osamahassouna.com`](https://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/`](https://docs.osamahassouna.com/email-playbook/)
There's also a **Playground** at [`/email-playbook/playground/`](https://docs.osamahassouna.com/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.
```bash
npm install -g email-playbook-mcp
```
Setup, tool reference, and Claude Desktop / Cursor config snippets:
[`docs.osamahassouna.com/email-playbook/cli/`](https://docs.osamahassouna.com/email-playbook/cli/)
There's also a hosted JSON-RPC endpoint at [`docs.osamahassouna.com/api/mcp`](https://docs.osamahassouna.com/api/mcp) if you'd rather not install anything.
## License
MIT. Playbook content © Osama Hassouna · [`osamahassouna.com`](https://osamahassouna.com)