# Email MCP server for Claude and Cursor · cloudmail

> cloudmail serves an MCP server at /mcp. Claude, Cursor and other clients sign in with OAuth, then read, search, draft and send, with sends held for approval.

Canonical: https://trycloudmail.com/features/email-mcp-server
Last updated: 2026-11-24

**An MCP server for your email.** Every cloudmail deployment serves the Model Context Protocol at /mcp. Claude, Cursor and other MCP clients sign in through your browser, then read, search, file, draft and send with the permissions of the person who connected them.

## What an MCP client can do

- **Sign in with OAuth**: The client opens your browser and you approve it. There is no token to paste.
- **Read, search, file, draft and send**: Tools cover mail, labels, rules, templates, scheduled sends and agent inboxes.
- **The person's own permissions**: A viewer can read but not send, and a client only sees the mailboxes that person can use.
- **Sends wait for approval**: A send tool returns pending_approval and a person decides. There is no tool to approve.
- **Email is marked untrusted**: Message content comes back wrapped as untrusted data, and a flagged read holds that session's sends for 30 minutes.
- **Nothing is deleted for good**: Delete tools move mail to Trash, and no tool empties it.

- [Every way an agent can connect](https://trycloudmail.com/agents)
- [cloudmail and AgentMail MCP servers compared](https://trycloudmail.com/compare/agentmail)

## Connect Claude Code

```bash
claude mcp add --transport http cloudmail \
  https://mail.yourdomain.com/mcp
```

In the docs: [MCP server: tools and client setup](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/mcp.md).

## Questions about the MCP server

### Which MCP clients work with cloudmail?

Claude Code, Claude Desktop, Claude.ai connectors, Cursor and any client that follows the MCP authorization spec. A headless agent can send an API token in place of OAuth.

### Can an MCP client send email without me?

Not unless you allow it. Its send is held in Pending approval until a person approves it. You can let one trusted app send on its own, per mailbox, or allowlist recipients.

### Does it work with Gmail or Outlook mailboxes?

No. The MCP server reads and sends the mail in your cloudmail deployment. You can import your old mail from Gmail or any IMAP account first.

## Related features

- [Agent inboxes](https://trycloudmail.com/features/agent-inboxes) - A real address for one AI agent, with its own token, send rules and expiry.
- [Send approval](https://trycloudmail.com/features/agent-send-approval) - Sends from agents and API tokens wait until a person approves them.
- [API, CLI and SDKs](https://trycloudmail.com/features/email-api) - REST with OpenAPI 3.1, a CLI, TypeScript and Python SDKs, webhooks and live events.

## Related

- [Features](https://trycloudmail.com/features)
- [Pricing](https://trycloudmail.com/pricing)
- [Docs](https://trycloudmail.com/docs)
