# Email MCP server

Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.

## Facts

- Endpoint: https://www.primitive.dev/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: F (5/100, scanned 2026-10-12) · report https://gateturbo.com/report/569a3800-fd48-446f-be41-6c81e2d51879
- Tools: 14
- Category: Search & web · source: registry
- Repository: https://github.com/primitivedotdev/primitive-mono-repo
- Last probed: 2026-09-03 · first listed: 2026-06-09
- Directory page: https://gateturbo.com/mcp/email · this document: https://gateturbo.com/mcp/email.md · JSON: https://gateturbo.com/api/directory/servers/email

## Tools (14)

- `listDomains`: List all inbound domains for the organization, both verified and unverified. Each domain includes its verification status and DNS records. U
- `addDomain`: Claim a new domain and receive the DNS records to publish. Returns dns_records with the exact records to add. If the domain has an mx_confli
- `verifyDomain`: Check DNS records for a domain claim (MX, TXT, SPF, DKIM, DMARC). On success the domain becomes verified and starts receiving mail. On failu
- `downloadDomainZoneFile`: Download a BIND-format DNS zone file for a domain. Useful when users want to import all required DNS records at once rather than copying the
- `getAccount`: Use this when you need the authenticated Primitive account summary, including plan, onboarding state, and managed inbox domain. managed_inbo
- `getInboxStatus`: Use this when the user asks whether inbound email is ready or needs setup. Returns domains, routes, deployed Functions, and recent inbound a
- `getOutboundStatus`: What can I send FROM? Lists this account's verified outbound (sendable) domains plus any domains still pending DNS verification, with next a
- `listEmails`: Use this when you need to browse inbound emails received at verified domains with cursor pagination, status filters, date filters, or sender
- `searchEmails`: Use this when you need to find inbound emails with structured filters or full-text matching. Use sort=received_at_asc plus date_from for new
- `getEmail`: Use this when you need full details for one inbound email ID, including parsed bodies, threading metadata, SMTP envelope, webhook state, and
- `replyToEmail`: Use this when the user has selected a specific inbound email and confirmed a reply. Sends real outbound email with threading handled server-
- `sendEmail`: Use this when the user has confirmed a new outbound email. Sends real email through Primitive's relay and can wait for the first SMTP delive
- `sendEmailDemo`: SIMULATION ONLY: nothing is delivered. NEVER call this when the user actually wants an email to arrive, and never describe its result as a s
- `listSentEmails`: List outbound emails sent by this org, with cursor pagination and filters. Bodies are omitted from list rows to keep responses small — use g
- `getSentEmail`: Get the full record for a single sent email by id, including body_text and body_html. Use to inspect delivery details for a specific send — 
- `cancelScheduledSend`: Cancel a still-scheduled send before it dispatches (terminal status "canceled"; the same idempotency key becomes reusable). Pass the sent em
- `awaitReply`: Wait for the threaded reply to a sent email. Call this immediately after sendEmail or replyToEmail when you expect an answer. With only the 
- `getConversation`: Get the full conversation an inbound email belongs to as ordered, chat-model-ready turns with bodies. Each message is oldest-first with a di
- `getThread`: Get a conversation thread by id: metadata plus all inbound and outbound messages interleaved oldest-first. Each message has a direction (inb
- `downloadEmailAttachments`: Download all attachments for an inbound email as a gzip-compressed tar archive. Returns the archive as a base64-encoded string along with th

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Email to your gate (https://gateturbo.com/login?next=/discovery?connect=email).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/email/claude · Claude Desktop → https://gateturbo.com/mcp/email/claude-desktop · ChatGPT → https://gateturbo.com/mcp/email/chatgpt · Codex → https://gateturbo.com/mcp/email/codex · Cursor → https://gateturbo.com/mcp/email/cursor · Windsurf → https://gateturbo.com/mcp/email/windsurf · VS Code → https://gateturbo.com/mcp/email/vscode · Gemini CLI → https://gateturbo.com/mcp/email/gemini-cli · OpenClaw → https://gateturbo.com/mcp/email/openclaw · n8n → https://gateturbo.com/mcp/email/n8n · A script or server → https://gateturbo.com/mcp/email/script

### Direct: Claude Code

Add Email to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http email https://www.primitive.dev/mcp
```

### Direct: Cursor

Add Email to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "email": {
      "url": "https://www.primitive.dev/mcp"
    }
  }
}
```

### Direct: VS Code

Add Email to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "email": {
      "type": "http",
      "url": "https://www.primitive.dev/mcp"
    }
  }
}
```

### Direct: Codex

Add Email to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.email]
url = "https://www.primitive.dev/mcp"
```

### Direct: Claude

Add Email as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Email" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://www.primitive.dev/mcp
```

### Direct: ChatGPT

Add Email as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Email" with the URL below.
3. Set authentication to none.

```
https://www.primitive.dev/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
