# emailens-mcp

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 414 installs
- Author: emailens-mcp
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/emailens-mcp/emailens-mcp
- Updated: 2026-04-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/emailens-mcp-emailens-mcp

## What it 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.

## Requirements
- Remote server: `https://emailens-mcp.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http emailens-mcp https://emailens-mcp.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add emailens-mcp-emailens-mcp --url https://emailens-mcp.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "emailens-mcp-emailens-mcp": {
            "url": "https://emailens-mcp.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "emailens-mcp-emailens-mcp": {
            "type": "http",
            "url": "https://emailens-mcp.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http emailens-mcp-emailens-mcp https://emailens-mcp.run.tools
```

## When to use it
- 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
- Preview `email.html` in the mail clients and show me where the layout breaks
- Diff `v1.html` against `v2.html` and list the regressions
- Run a deliverability check on our sending domain: SPF, DKIM, DMARC

## Similar
- [Emailens MCP](https://affpapa.org/en/nevibecode/mcp/emailens-mcp.md) — MCP server · ★ 8 repo stars
- [emailmd](https://affpapa.org/en/nevibecode/mcp/emailmd.md) — MCP server · ★ 1396 repo stars
- [cargo-mailbox-management](https://affpapa.org/en/nevibecode/skills/cargo-mailbox-management.md) — skill · 6800 installs
- [Email Verification — Real-Time Deliverability Check](https://affpapa.org/en/nevibecode/mcp/email-verification-real-time-deliverability-check.md) — MCP server · 2393 installs
- [cold-email-deliverability](https://affpapa.org/en/nevibecode/skills/cold-email-deliverability.md) — skill · 33500 installs
- [email-best-practices](https://affpapa.org/en/nevibecode/skills/email-best-practices.md) — skill · 14500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
