What is an email MCP server?

An AI chat linked to an email MCP server, a short menu of tools with the send tool highlighted, then an envelope

An email MCP server (also called an MCP email server) exposes email operations as tools an AI agent can call through the Model Context Protocol. Instead of writing integration code, you point an MCP client like Claude, ChatGPT or Cursor at the server URL, approving with OAuth in the browser or with an API key, and the agent gets typed tools for sending mail, managing contacts, and running campaigns, with the same permissions the credential carries.

Unitpost ·

Model Context Protocol (MCP) is an open standard for giving AI agents access to external tools. The agent discovers what tools exist, what arguments they take, and calls them.

For email that means a URL plus browser approval (or an API key) instead of a wrapper per framework. Cursor, Claude Code, and the rest speak the same tools.

What is an email MCP server, in plain words?

It's the plug between an AI assistant and an email service. On its own, Claude or ChatGPT can write an email but can't send it. Connect an email MCP server and the assistant gets a short menu of actions, such as "send an email", "list sent emails" and "add a contact", which it uses when you ask in ordinary words. The service does the sending, from a domain you've verified, and keeps the record of what went out.

How does an AI agent use it, step by step?

  1. Connect. You add the server URL to the client and approve access, which ties the connection to one workspace and a set of permissions.
  2. Discover. The client asks the server which tools it has, and gets each one's name, description and argument schema.
  3. Call. When a request needs email, the model picks a tool and fills in its arguments, for example email_send with a from, to, subject and body.
  4. Check. The server runs the same checks as its REST API: permissions, a verified sending domain, the suppression list, rate limits and billing.
  5. Answer. The result goes back to the model, such as the new email's id and status, and the agent reports it or takes the next step.

The client is what asks you to confirm a send; the server is what enforces the rules, whichever client called it.

What the tools are

Each workspace tool maps to one API operation, as in the REST API:

  • email_send sends one message, and email_send_batch sends up to 100
  • contacts_create and contacts_update manage recipients
  • segments_list and email_campaigns_send handle one-to-many sends, through the campaign path
  • email_domains_verify checks a sending domain's status

Three read-only helpers have no REST counterpart: docs_search, design_library and integration_guide search the docs, the email design library and integration guides.

How authentication works

Connect with OAuth 2.1 (recommended): add the server URL in your MCP client and approve in the browser. There's no key to copy, tokens refresh automatically, and the scopes match the API's capabilities exactly. The fallback is the same API key the REST API uses, passed as a Bearer token, so there is no second permission system to reason about. A tool call gets exactly the scopes its credential carries. An agent approved for sending only can't delete a contact, and the call fails the same way a raw HTTP request would.

Bash
# Claude Code with OAuth (recommended) — approve in the browser:
claude mcp add --transport http unitpost https://mcp.unitpost.com/mcp

# Legacy API-key fallback:
claude mcp add --transport http unitpost https://mcp.unitpost.com/mcp \
  --header "Authorization: Bearer pk_live_YOUR_KEY"

Production keys only

The most common setup failure is pasting a development key against the production MCP host. Tool discovery can appear to work while every tool call returns 401, which looks like a broken server when the real problem is the key.

Transport: streamable HTTP vs stdio

Modern MCP clients speak streamable HTTP and connect to a URL directly. Some clients still only support stdio and need a local bridge process that forwards to the HTTP endpoint. That distinction is the usual reason a config that works in one client fails in another.

How do you connect one without code?

In Claude and ChatGPT it's a custom connector: paste the server URL, approve in the browser, and ask. Connect email to Claude and let ChatGPT send email walk through it. Not sure whether you need this or a mailbox connector? Email MCP server or Gmail connector explains the difference.

Frequently asked questions

Which MCP clients support email tools?

Any MCP-compatible client. In practice that means Cursor, Claude Code, Claude Desktop, OpenAI Codex CLI, GitHub Copilot in VS Code agent mode, Gemini CLI, and Windsurf, plus any agent you build against the protocol. The setup differs per client mainly in where the config file lives and whether it needs a stdio bridge.

Is MCP secure enough for production email?

The protocol itself is transport plus tool discovery. The security comes from the server: tool calls should be authenticated with a scoped, revocable credential and pass the same checks as the REST API. If an MCP server grants broader access than the equivalent API key would, the fault is in that server.

Is an email MCP server the same as a Gmail connector?

No. A Gmail or Outlook connector signs an assistant in to one person's mailbox to read and reply as them. An email MCP server connects it to a sending service, so it sends from your business's verified domain with delivery tracking, unsubscribes and bounce handling.

Can an agent send email without me approving each send?

Yes, if you give it a key with send capability; that's what the integration is for. Whether you should depends on the use case. For one-to-one sends triggered by clear instructions, it's usually fine. Anything that reaches many recipients goes through the campaign path, which needs an explicit send step on top of the tool call that drafts it.

Free to start

Start sending for free

$0/ mo

  • 5,000 emails / mo — no credit card
  • Your domain with DKIM, SPF & DMARC
  • REST API, SMTP & official SDKs
  • Visual editor + code templates
  • Open & click tracking + signed webhooks
  • 10,000 contacts · automatic suppression