Responsive emails, written in Markdown
open sourceMITself-hostablefreeMCP
emailmd turns Markdown into responsive, email-safe HTML that renders in Gmail, Outlook, Apple Mail and Yahoo, using MJML under the hood so the output is tables and inline styles you never have to touch. Seventeen fenced-block directives add photo heroes, responsive columns, callouts, accordions, dividers, headers and footers, and frontmatter sets the preheader and brand colors, from which it derives an automatic dark mode. It lints drafts for missing alt text, insecure links, Gmail's 102 KB clipping limit and spam-filter triggers, generates a plain-text part from the same Markdown, and draws charts from table cells and text glyphs so they render without images. It comes as an npm library, a CLI for CI, a React builder to embed in your app and reusable partials, with 13 starter templates. Its MCP server, hosted at https://www.emailmd.dev/api/mcp or run locally with npx emailmd mcp, lets Claude, ChatGPT, Cursor and VS Code write, lint and render emails with a live preview link for each draft. It is built by Anypost.
Problems it solves
- write HTML emails that render correctly in Outlook without hand-coding tables
- write transactional emails in Markdown instead of HTML
- check an email draft for spam triggers and Gmail clipping before sending
- let my AI assistant write and preview a newsletter email
- generate a plain-text version of an HTML email automatically
- dark mode for my email templates without writing it twice
Features
- Markdown to email-safe HTML via MJML
- renders in Gmail, Outlook, Apple Mail and Yahoo
- 17 layout directives: heroes, columns, callouts, accordions, dividers and more
- frontmatter theming with automatic dark mode
- deliverability linting: alt text, insecure links, Gmail 102 KB clip, spam triggers
- plain-text part generated from the same Markdown
- image-free charts
- CLI, React builder and partials
- 13 templates
- hosted and local MCP server with live preview links
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Has official SDKs | plan not known |