analyze_email
Quick CSS compatibility analysis — returns warnings and per-client scores. Use audit_email for full quality report (spam, links, a11y, images, etc.).
Put an email through client-by-client rendering checks before it goes out — per-client CSS scores with the exact source line, a spam and accessibility audit, real screenshots, and a diff proving the fix worked.
LABSCO SUMMARY
The authors are unusually explicit about why: a single border-radius on an ordinary newsletter used to arrive twelve times — two clients that drop it, six selectors that use it — and the response for an 11KB email came to 286KB. Grouping by property, severity and message, and moving fix snippets into the separate fix tool, brought that to 40KB. The same economy shapes the source positions: the first occurrence is full, the rest are line numbers, because a real newsletter can produce over a thousand of them. Then the diff tool closes the loop — it says which issues the fix resolved and which it introduced, which is the step that usually goes missing.
An email QA server that takes HTML, MJML, Maizzle or React Email, compiles it, and returns compatibility, quality and deliverability reports across 21 email clients including Gmail, Outlook, Apple Mail, Yahoo, Samsung, Thunderbird, HEY, Proton Mail, AOL, Fastmail and Superhuman.
Nothing for the analysis and the DNS checks — npx -y @emailens/mcp and they work. Screenshots and shareable links need an EMAILENS_API_KEY, free to obtain, with sharing on the paid Dev plan. A hosted endpoint at https://emailens.dev/api/mcp needs no Node.js at all, but does require the key as a Bearer token.
One command — npx -y @emailens/mcp
USE CASES
Per-client scores with the failing property named and the line it sits on.
Get the fix prompt for the issues you chose to act on, then diff the two versions.
Spam scoring on the content, and SPF, DKIM, DMARC and BIMI on the sending domain.
Real screenshots across clients in light and dark, or a link they open without an account.
Take the client IDs first, then filter the report to them — which also roughly halves the response.
It is compiled first, so what gets checked is the HTML your readers actually receive.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
analyze_emailQuick CSS compatibility analysis — returns warnings and per-client scores. Use audit_email for full quality report (spam, links, a11y, images, etc.).
audit_emailComprehensive email quality audit — CSS compatibility, spam scoring, link validation, accessibility, images, inbox preview, size (Gmail clipping), and template variables. Use skip to omit specific checks.
capture_screenshotsCapture real email screenshots across 21 clients (Gmail, Outlook, Apple Mail, etc.) with light and dark mode variants. Screenshots are rendered in real browsers and hosted on CDN. Requires EMAILENS_API_KEY env var — free plan at emailens.dev?ref=mcp.
check_deliverabilityCheck email deliverability for a domain — SPF, DKIM, DMARC, MX, and BIMI records. Returns a score (0-100) and actionable issues. Uses DNS lookups (no API key needed).
diff_emailsCompare two email HTML versions — shows score changes, fixed issues, and newly introduced issues per client. Use after making fixes to verify improvements.
fix_emailGenerate a structured fix prompt for email compatibility issues. Returns markdown with the original code, detected issues (CSS or structural), fix snippets, and format-specific instructions. Use after preview_email or analyze_email.
list_clientsList the supported email clients (the README's table counts 21) with IDs, names, engines, and dark mode support.
preview_emailFull email compatibility preview — transforms HTML for 21 email clients (Gmail, Outlook, Apple Mail, Yahoo, Samsung, Thunderbird, HEY, Proton Mail, AOL, Fastmail, Superhuman), analyzes CSS, generates scores, simulates dark mode, checks inbox preview and email size.
share_previewCreate a shareable link for an email preview. Recipients see the full analysis without needing an account. Requires EMAILENS_API_KEY env var and Dev plan ($9/mo).
BEFORE YOU INSTALL
9 tools when we connected. capture_screenshots and share_preview need EMAILENS_API_KEY, and share_preview also needs the Dev plan ($9/mo). MJML, Maizzle and React Email input compiles only if you install those compilers yourself.
npx on PATH
EMAILENS_API_KEY in your environment
Of the 3 documented clients, 2 run the server on your machine and 1 connects to a hosted endpoint.
CONTEXT COST
Rated by the size of the 9 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx -y @emailens/mcphttps://emailens.dev/api/mcpAdd this hosted endpoint to your MCP client using the credentials listed under Requirements.
{
"mcpServers": {
"emailens": {
"command": "npx",
"args": [
"-y",
"@emailens/mcp"
]
}
}
}claude mcp add emailens -- npx -y @emailens/mcp{
"mcpServers": {
"emailens": {
"url": "https://emailens.dev/api/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}The hosted endpoint requires an API key: <YOUR_TOKEN> is your Emailens API key (the same value as EMAILENS_API_KEY), free at emailens.dev/settings/api-keys.