Emailens MCP logo

Emailens MCP

by emailens

Analyze, audit, compare, fix, and preview email templates across 21 clients with optional screenshots and sharing.

Install Emailens MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "emailens-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@emailens/mcp"
      ],
      "env": {
        "EMAILENS_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

emailens/mcp connects AI assistants to Emailens for email rendering analysis across 21 clients, including Gmail, Outlook, Apple Mail, and Yahoo. It accepts HTML, MJML, Maizzle, and React Email, compiling supported source formats before checking the resulting email. Use it to inspect CSS compatibility, accessibility, deliverability, dark mode, size, and client-specific issues, then generate fixes or compare revisions. Local analysis runs through npx without an account; screenshots and shareable previews require an Emailens API key.

Use cases

  • Check an email before sending it across Gmail and Outlook
  • Audit MJML or React Email output for accessibility and spam issues
  • Generate compatibility fixes from detected CSS findings
  • Compare email revisions to verify rendering improvements
  • Check a sending domain's DNS deliverability records

Key features

  • Analyze email compatibility across 21 clients
  • Compile HTML, MJML, Maizzle, and React Email inputs
  • Audit CSS, accessibility, spam, links, images, and size
  • Generate source-aware fix prompts and snippets
  • Compare revisions and report client-specific changes
  • Capture screenshots and share previews with an API key

Tools9

What Emailens MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

22/22 checks healthy over the last 90d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @emailens/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8Stargazers on the source repository.
npm downloads2.1kPackage downloads in the last 30 days.
Last commit8d agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Emailens MCP works

What emailens/mcp does

emailens/mcp brings Emailens email rendering checks into MCP-compatible developer tools. It evaluates email source against 21 client targets, including Gmail, Outlook, Apple Mail, Yahoo, Samsung, Thunderbird, HEY, Proton Mail, AOL, Fastmail, and Superhuman.

The server handles HTML as well as MJML, Maizzle, and React Email input. When a source format is selected, it is compiled before analysis so checks apply to the HTML recipients are expected to receive. Results can include client scores, compatibility findings, dark-mode behavior, inbox preview concerns, email size, and source locations for HTML findings.

Beyond rendering, the audit workflow covers spam signals, links, accessibility, images, template variables, overflow, visual fallbacks, contrast, design consistency, Outlook VML structure, and CSS that clients parse but later discard. Deliverability checks inspect SPF, DKIM, DMARC, MX, and BIMI records for a domain.

How it works

Run the package locally with npx and connect it to an MCP client over the local process. The hosted endpoint is also available for remote use and requires an API key. Analysis tools can receive source directly through html or read an absolute file path. Supported file extensions include .html, .htm, .mjml, .jsx, .tsx, and .vue.

Use preview_email for a broad compatibility preview, or analyze_email when a faster CSS-focused result is sufficient. audit_email combines compatibility with broader quality checks. Client filters reduce the reported targets without changing whole-email scores, while skip can omit selected audit checks. Full detail adds per-client breakdowns and fix snippets where supported.

For HTML input, findings include line, column, offset, and length information for the first occurrence, with additional line numbers for repeated occurrences. Compiled formats omit these positions because they refer to generated HTML rather than the source file. diff_emails compares two versions and reports score changes, fixed issues, and newly introduced issues.

Setup and configuration

Install or run the local server with:

Terminal
npx -y @emailens/mcp

A Claude Desktop configuration can launch it through the command and args fields:

config.json
{
  "mcpServers": {
    "emailens": {
      "command": "npx",
      "args": ["-y", "@emailens/mcp"]
    }
  }
}

Claude Code can register the same command with claude mcp add emailens -- npx -y @emailens/mcp. The optional EMAILENS_API_KEY enables screenshot capture and preview sharing. A free key is available through the Emailens dashboard; share links require the Dev plan. Remote connections use https://app.emailens.dev/api/mcp with a bearer token and do not require a local npm or Node.js installation.

Tools and capabilities

  • preview_email transforms and evaluates email HTML across 21 clients, including CSS scores, dark-mode simulation, inbox preview, and size checks.
  • analyze_email returns grouped CSS findings and client scores, with optional client filtering, full detail, targeting policies, and HTML source locations.
  • audit_email checks compatibility, spam, links, accessibility, images, size, contrast, overflow, design consistency, variables, fallbacks, and Outlook-specific structure.
  • fix_email produces a Markdown fix prompt containing the source, detected problems, snippets, and format-aware instructions.
  • list_clients returns supported client IDs, display names, rendering engines, and dark-mode support.
  • diff_emails compares revisions by client and identifies score changes, resolved findings, and regressions.
  • check_deliverability performs DNS-based SPF, DKIM, DMARC, MX, and BIMI checks without an API key.
  • capture_screenshots renders light and dark screenshots in real browsers and hosts them on a CDN; it requires EMAILENS_API_KEY.
  • share_preview creates a preview link for recipients without an account; it requires the API key and Dev plan.

Limitations and notes

Local analysis does not require an account, but screenshot capture and sharing have separate API-key requirements. Screenshot capture uses real-browser rendering, while the other preview and audit operations report analysis results. Client-specific reports can be narrowed by ID, and unknown client IDs are rejected. Audit findings distinguish errors and warnings from informational results; informational findings indicate safe fallback behavior rather than problems to remove.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Emailens MCP

emailens/mcp is an MCP server that connects AI assistants to Emailens for email rendering analysis. Its main tools preview, analyze, audit, fix, compare, and check deliverability for HTML, MJML, Maizzle, and React Email across 21 email clients, with optional screenshot capture and shareable previews.

Run `npx -y @emailens/mcp` and register that command in your MCP client. Claude Desktop uses a `command` of `npx` with the package in `args`; Claude Code can use `claude mcp add emailens -- npx -y @emailens/mcp`.

Yes, emailens/mcp works with Claude Desktop through a local stdio configuration. Add an `emailens` entry with `npx` as the command and `-y`, `@emailens/mcp` as its arguments. An API key is optional for local analysis.

Pass the source with its format, or provide an absolute path whose extension identifies the input. The server compiles MJML, Maizzle, and React Email before running the compatibility checks, so results apply to the generated HTML.

Yes, `capture_screenshots` requires `EMAILENS_API_KEY`. The tool captures light and dark screenshots across supported clients using real browsers. `share_preview` also requires the key and additionally requires the Emailens Dev plan.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEmailens MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/emailens-mcp?style=directory)](https://allmcps.com/mcp/emailens-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/emailens-mcp"><img src="https://allmcps.com/api/badge/emailens-mcp?style=directory" alt="Emailens MCP on AllMCPs" /></a>