anypost avatar

emailmd

anypost/emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

GitHub stars
1.4K
tools
3
transport
STDIO, HTTP
last updated
Oct 6, 2026

Install

From registry metadata
$ npx add-mcp https://www.emailmd.dev/api/mcp --name emailmd

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http emailmd https://www.emailmd.dev/api/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 3 tools

Verified live against the running server on Nov 13, 2026.

renderRender 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 docum...3 params

Render 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 docum...

Parameters* required
markdown*string
The emailmd markdown document, optionally starting with YAML frontmatter.
minifyboolean
Minify the HTML. Recommended for sending; helps stay under Gmail's 102KB clip limit.
partialsobject
Named markdown partials spliced in wherever the document says "::: include <name>".
lintCheck 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 intenti...2 params

Check 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 intenti...

Parameters* required
markdown*string
The emailmd markdown document, optionally starting with YAML frontmatter.
partialsobject
Named markdown partials spliced in wherever the document says "::: include <name>".
read_docsFetch 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.1 params

Fetch 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.

Parameters* required
pagestring
Docs page path, e.g. 'buttons' or 'directives/hero'. Omit for the index.

Sponsors

Readme

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.

emailmd

Install

npm install emailmd

Quick 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 part

v0.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
:::

KPI tiles, a bar chart and a sparkline, rendered by emailmd from plain markdown lists


View the full README on GitHub

Details

Repository
github.com/anypost/emailmd
Categories
Communication & Messaging, Design & Creative, Documents & Knowledge
Package
emailmd
Transport
STDIO, HTTP
Registry
MCP registry, active
Tools verified
Nov 13, 2026

Related Communication & Messaging MCP servers

View all
1chatmcp avatarChatsumchatmcp/mcp-server-chatsumQuery and Summarize your chat messages.1Kstars
2mcpso avatarChatsummcpso/mcp-server-chatsumQueries and summarizes chat messages from a chat database via MCP to provide concise summaries and insights.1Kstars
3alexander-zuev avatarSupabasealexander-zuev/supabase-mcp-serverQuery MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, a821stars
4cohnen avatarGoogle Adscohnen/mcp-google-adsAn MCP tool that connects Google Ads with Claude AI/Cursor and others, allowing you to analyze your advertising data through natural language conversations. Thi609stars
5tickdb avatarTickDB Market Datatickdb/tickdb-unified-realtime-marketdata-apiReal-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes0stars
6dmontgomery40 avatarDeepSeek MCP Serverdmontgomery40/deepseek-mcp-serverOfficial DeepSeek MCP server for chat, completion, model listing, and balance endpoints.340stars