emailens-mcp — Claude Code MCP server: HTML email checks
emailens-mcp runs an HTML email through mail clients, diffs two versions and hands the agent a fix list it can act on right away.
no license 414 installs updated 2026-04-01
claude mcp add --transport http emailens-mcp https://emailens-mcp.run.toolsWhat emailens-mcp does
The server gives your agent a set of tools built around a single HTML file. preview_email renders the markup in mail clients and reports on CSS, dark mode and message size. analyze_email is the quick pass with per-client warnings; audit_email goes wider with spam signals, link checks, accessibility, images and content overflow. Two more sit beside them: diff_emails for comparing versions, check_deliverability for SPF, DKIM, DMARC, MX and BIMI on a domain.
fix_email leaves the editing to the model. It returns a structured prompt describing what is broken. build_email writes an email from a brief, scores it against the clients and repairs until the number climbs; the run goes in the background and get_build_status reports progress for a runId.
Local tools need no account. Screenshots and shareable links come with EMAILENS_API_KEY, and build_email asks for a Pro/Team key.
What it helps with
- see where a template breaks in one mail client
- compare two versions and catch regressions
- check SPF, DKIM and DMARC before a send
- turn audit findings into a prompt the agent can follow
- generate a client-safe email from a brief
Example prompts for the agent
- Preview
email.htmlin the mail clients and show me where the layout breaks - Diff
v1.htmlagainstv2.htmland list the regressions - Run a deliverability check on our sending domain: SPF, DKIM, DMARC
How to install emailens-mcp
Platform CLI: remote server
claude mcp add --transport http emailens-mcp https://emailens-mcp.run.toolsPlatform CLI: remote server
codex mcp add emailens-mcp-emailens-mcp --url https://emailens-mcp.run.toolsConfig file
{
"mcpServers": {
"emailens-mcp-emailens-mcp": {
"url": "https://emailens-mcp.run.tools"
}
}
}Config file
{
"servers": {
"emailens-mcp-emailens-mcp": {
"type": "http",
"url": "https://emailens-mcp.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http emailens-mcp-emailens-mcp https://emailens-mcp.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about emailens-mcp
How do I install emailens-mcp in Claude Code?
Run claude mcp add --transport http emailens-mcp https://emailens-mcp.run.tools.
What does emailens-mcp do?
It exposes email tooling to your agent: client previews, a CSS and spam audit, version comparison and DNS record checks. It also builds a repair prompt and can draft an email from a brief.
Do I need an API key?
The local tools run without an account. EMAILENS_API_KEY unlocks screenshots and shareable links, while build_email requires a Pro/Team key.