# A hosted MCP email server

Mail for Bots is a hosted Model Context Protocol server that gives any MCP client real email: 41 tools to create inboxes, wait for messages, read verification codes, send and reply.

## Connect in one step

The server speaks Streamable HTTP at `https://mailforbots.com/mcp` and authenticates with an API key sent as a bearer token. Pick your client:

Terminal · Claude Code

```
claude mcp add --transport http mailforbots https://mailforbots.com/mcp \
  --header "Authorization: Bearer bm_YOUR_KEY"
```

Claude Desktop: add the same URL and header under Settings, Connectors.

## What the tools do

An agent typically uses a handful of tools, in this order:

1. `create_inbox` makes a new address, optionally deleted automatically after a number of minutes.
2. `send_email`, `reply` or `forward` send mail from it.
3. `wait_for_message` blocks until a matching email arrives, so the agent never polls.
4. `get_message` returns the message with codes and links already extracted, so a verification code is a field, not something to parse.
5. `get_thread`, `search` and `label_thread` manage longer conversations.
6. `create_draft` prepares an email that waits for a human to send it.

The full list is in the [MCP tools reference](https://mailforbots.com/docs/mcp), and the same account is available over the [REST API](https://mailforbots.com/docs/rest).

Example prompt

```
Create an inbox called signup-bot, sign up to example.com with it,
wait for the confirmation email and tell me the verification code.
```

## Safe by design

- Keys can be limited to scopes such as reading mail only, and to specific inboxes. See [API keys and scopes](https://mailforbots.com/docs/keys).
- Drafts let a human approve anything important before it is sent.
- Per-plan daily sending and recipient limits. Free: 50 emails a day. Pro: 5,000.
- Pro accounts can use their own domain, so mail comes from an address like orders@yourcompany.com.

## Pricing

Free includes 3 inboxes. Pro is $20 a month for 100 inboxes. See [pricing](https://mailforbots.com/pricing).

[Start free](https://mailforbots.com/#/signup)

## Related reading

- [How to let an AI agent sign up for a website and read the verification email](https://mailforbots.com/blog/let-ai-agent-sign-up-for-websites)
- [Give Claude Code its own email inbox with one MCP command](https://mailforbots.com/blog/claude-code-email-mcp)
- [Email MCP setup for Cursor, Codex CLI and Gemini CLI](https://mailforbots.com/blog/cursor-codex-gemini-email-mcp-setup)
