emailmd MCP server
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
1.4k stars5.2k downloads/wk
Reviews
Write oneNobody has reviewed emailmd yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
emailmd tools (3)
write = sends, deletes, buys or postslintFreeCheck emailmd markdown for deliverability, accessibility, and readability problems without rendering it: missing alt text, http:// links, Gmail's 102KB clip limit, generic link text, spam-trigger phrases, and more. Fix warnings before sending; suggestions are sometimes intentional (e.g. transactional emails without an unsubscribe link).
read_docsFreeFetch emailmd documentation from emailmd.dev. Call with no arguments for the index of all pages; pass page to read one (e.g. 'buttons', 'frontmatter', 'theme', 'directives/hero'). Read the relevant page before using syntax you are not sure about.
renderFreeRender emailmd markdown into email-safe HTML. Returns html (the complete email document), text (the plain-text MIME part), meta (frontmatter), warnings (non-fatal repairs made while rendering; aim for none), htmlBytes, and previewUrl (a live browser preview of this exact document to share with the user).
Public scan report
scanner v0.1.9 · 2026-09-21 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned25/25
- Live reliabilityremote reachable in 358ms20/20
- Tool poisoning3 tool descriptions checked15/15
- Auth qualityopen endpoint, read-only tools10/15
- Maintenancelast push 25 days ago15/15
- Maintainer identitynamespace and repository owner differ; GitHub account older than a year6/10
What the publisher says
From the emailmd repository's README, as published. We do not edit it. Read it on GitHub
emailmd
Write markdown. Ship emails. No HTMHELL.
emailmd converts markdown into responsive, email-safe HTML that works across Gmail, Outlook, Apple Mail, Yahoo, and every other client.
Install
npm install emailmdQuick Start
import { render } from "emailmd";
const { html, text } = await render(`
# Welcome!
Thanks for signing up.
[Get Started](https://example.com){button}
`);
// html → complete email-safe HTML
// text → plain text version for text/plain MIME partv0.3.0 migration: render() is now async. Update calls from render(md) to await render(md). Requires Node 20+ (MJML 5).
Charts & Data
Bar charts, progress meters, sparklines, KPI tiles, step trackers, and star ratings, each written as a plain markdown list:
::: chart
- Spotify: 16,900
- Apple Podcasts: 12,400
- Web player: 6,200
- RSS: 2,900
:::They are drawn from table cells and text glyphs rather than images or SVG, so they still render when the client blocks remote images, and they redraw themselves in the plain-text part instead of collapsing to a list of numbers. See the directives reference.
CLI
emailmd also ships with a command-line interface.
# Render to HTML
emailmd input.md
# Write to file
emailmd input.md -o output.html
# Plain text output
emailmd input.md --text
# Pipe from another command
echo "# Hello" | emailmdRun emailmd --help for all options.
React
@emailmd/react provides a live-preview hook (useEmailmd), an iframe component, and — the full builder as a drop-in component for your own app.
npm install @emailmd/react emailmdLearn More
- Docs — full syntax reference, theming, frontmatter, directives, and API
- Templates — ready-made email templates you can copy and customize
- Builder — live editor to write and preview emails in your browser
MCP
emailmd ships a Model Context Protocol server, so an AI assistant can render, lint, and preview emails for you. It exposes three tools — render (markdown to email-safe HTML), lint (flag deliverability problems without rendering), and read_docs (look up emailmd syntax) — over either transport:
# Hosted (Streamable HTTP)
https://www.emailmd.dev/api/mcp
# Or run it locally over stdio
npx emailmd mcpPublished to the official MCP registry as dev.emailmd/emailmd. See the MCP docs for per-client setup.
AI
Prefer plain context over tools? emailmd is just markdown, so AI is great at writing templates. Feed the full docs to your AI tool:
https://www.emailmd.dev/llms-full.txtContributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
emailmd is under active development. The API may change between minor versions until we hit 1.0 — breaking changes are always called out in the changelog. See Stability & Versioning for what the semver contract covers.
Acknowledgements
- Built with MJML under the hood
- Sponsored by Anypost
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add --transport http emailmd https://www.emailmd.dev/api/mcp
emailmd: common questions
- Is emailmd MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the emailmd safety report
- How do I install emailmd?
- It runs remotely at www.emailmd.dev. Add it to Claude Code, Claude Desktop or Cursor with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does emailmd need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is emailmd maintained?
- The last commit was 26 days ago (2026-08-26). The latest release is v0.11.0.
- Is emailmd up?
- 100% of our last 8 checks got an answer. We check remote servers about four times a day.
- What can I use instead of emailmd?
- Servers from other publishers that do the same job: Email Footer Law Lint MCP server, Clippy MCP server and Fluxmail MCP server. Compare all emailmd alternatives.
Alternatives to emailmd
Same job from other publishers: the closest match first, then the best rated.
- Email Footer Law LintFourteen checks on an HTML email footer: CAN-SPAM postal address and 10-business-day opt-out, CASL'snot reviewedGrowingA
- ClippyCopy AI-generated content to the macOS clipboard: rich Gmail-ready email drafts, text, and filesnot reviewedGrowingA
FluxmailRead, search, draft, send, and organize email through Gmail, Outlook, and IMAP/SMTP mailboxes.not reviewedGrowingB- Agent EmailLocal email connectivity for AI agents — read, draft, send, and organize Outlook mail via MCPnot reviewedGrowingA
- MCPSend email, look up public IP information, and convert files to Markdown through SendSoon.not reviewedGrowingB