# anypost/emailmd

Render markdown into email-safe HTML

Repository: https://github.com/anypost/emailmd
Canonical: https://ross.abutalabs.com/products/emailmd
Homepage: https://www.emailmd.dev/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T16:47:42+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 14
- inputs: {"age_days": 198, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1303, forks 38 (observed 2026-08-28T04:04:18.307604+00:00)

## What it is
emailmd is a TypeScript library and CLI that converts markdown into responsive, email-safe HTML (via MJML) that renders correctly across Gmail, Outlook, Apple Mail, and Yahoo. It also ships a React component package, a live-preview builder, and an MCP server so AI assistants can render, lint, and preview emails.

## Use cases
- convert markdown to email-safe html
- build transactional emails without writing html
- create responsive newsletters that work in outlook
- generate plain-text versions of html emails
- render email templates from markdown in node
- let an ai assistant write and lint email html via mcp
- embed an email builder in a react app

## When to choose
- you want to author emails in markdown instead of nested tables and inline styles
- you need emails that render reliably across major clients including Outlook
- you want automatic dark mode and theming from frontmatter
- you need both HTML and plain-text MIME parts from one source
- you want an MCP server or React builder for email authoring workflows

## When to avoid
- you need pixel-perfect, highly custom email designs beyond the 80% of common layouts
- you are not on Node 20+ or your stack is not JavaScript/TypeScript
- you need a guaranteed-stable API before 1.0, since breaking changes may occur between minor versions
- you already have a mature email templating pipeline (e.g. MJML or React Email) your team knows well

## Facets
- artifact type: library
- maturity: active
- function: templating, markdown, cli, mcp, email
- domain: email, web-development, developer-tools
- platform: cli, cross-platform
- tags: email-safe-html, mjml, html-email, newsletter, email-templates, react-components, dark-mode, email-builder, automation, nodejs

## Member repositories
- anypost/emailmd (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:18.307604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:51:10.966883+00:00, confidence not recorded.
  - readme: https://github.com/anypost/emailmd (fetched 2026-08-28T04:04:18.307604+00:00, sha 9ac570a87d46)
  - homepage: https://www.emailmd.dev/ (fetched 2026-08-29T12:09:40.056274+00:00, sha bccc24b3d7d9)
  - site_page: https://www.emailmd.dev/docs (fetched 2026-08-29T12:09:40.065392+00:00, sha affe54cd8a2b)
  - site_page: https://www.emailmd.dev/docs/getting-started (fetched 2026-08-29T12:09:40.067506+00:00, sha adf443ee7590)
  - site_page: https://www.emailmd.dev/docs/directives/chart (fetched 2026-08-29T12:09:40.069507+00:00, sha bb8a0d8f4a8d)
  - site_page: https://www.emailmd.dev/docs/directives/progress (fetched 2026-08-29T12:09:40.071253+00:00, sha 3b2f621e0b83)
  - site_page: https://www.emailmd.dev/docs/directives/sparkline (fetched 2026-08-29T12:09:40.072966+00:00, sha c9f05739f2f6)
  - site_page: https://www.emailmd.dev/docs/directives/stats (fetched 2026-08-29T12:09:40.074772+00:00, sha 1ae893797d95)
  - site_page: https://www.emailmd.dev/docs/directives/steps (fetched 2026-08-29T12:09:40.076578+00:00, sha f90c86ef3a77)
  - site_page: https://www.emailmd.dev/docs/directives/rating (fetched 2026-08-29T12:09:40.078610+00:00, sha 63546e383825)
- Data as of 2026-08-30T08:39:29.467469+00:00.
