# mailforagents

> mailforagents is a freemium MCP server for communication. Give AI agents their own email inboxes, reachable over MCP or API. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $12 a month
- **Platforms:** Web, API
- **Website:** https://mailforagents.io
- **Repository:** https://github.com/mailfagents/mailforagents-mcp
- **MCP Registry name:** io.mailforagents/mailforagents
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-27

## About

Each agent gets a dedicated mailbox it can read, search, reply to and send from, so it can handle correspondence without touching a personal account. Inboxes are created in code or from a dashboard, and an MCP endpoint lets assistants such as Claude or ChatGPT use one directly.

Access is scoped per inbox. OAuth sign-in lets you pick which inbox a client can reach, and tokens can be limited to read-only, read and send, or full access, with optional expiry. Attachments can be read as text from PDF, Word, Excel and PowerPoint files, and bulk sends fill a template per recipient, sending one separate email to each person.

It suits teams running several agents or customer-facing automations who want clear separation between mailboxes. Human approval can hold every outgoing message in drafts until someone signs off, and daily send limits and allow or block lists add further control.

## Features

- **One inbox per agent:** Create separate mailboxes in code, one for each agent, customer or conversation.
- **Scoped MCP access:** Each inbox has its own MCP endpoint, with OAuth or per-inbox tokens limited to one mailbox.
- **Attachment reading:** Extracts text from PDF, Word, Excel and PowerPoint files and stores received files in the inbox drive.
- **Bulk personalised sending:** Sends one template to many recipients with name and custom variables, one email per person.
- **Human approval mode:** Holds agent-written emails and bulk sends in drafts until a person approves them.
- **Real-time webhooks:** Notifies your systems when mail arrives, available from the Starter plan.

## Good for

- Letting a support agent read and answer customer email from its own address
- Sending personalised bulk emails from a template with per-recipient fields
- Having an assistant triage unread mail and summarise what arrived today
- Receiving vendor invoices or files and passing them to an agent for extraction
- Reviewing agent-drafted replies before anything leaves the inbox

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mailforagents https://api.mailforagents.io/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "type": "http",
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.mailforagents.io/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "type": "http",
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.mailforagents.io/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mailforagents --url https://api.mailforagents.io/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mailforagents]
url = "https://api.mailforagents.io/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "httpUrl": "https://api.mailforagents.io/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mailforagents https://api.mailforagents.io/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "serverUrl": "https://api.mailforagents.io/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "url": "https://api.mailforagents.io/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "type": "streamableHttp",
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mailforagents": {
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mailforagents": {
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mailforagents": {
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.mailforagents.io/mcp
```

Enter a Name (for example "mailforagents"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mailforagents": {
      "type": "http",
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 9 of 18 tools change data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_mailbox` (name suggests: reads): Address, signature, unread and folder counts, and plan usage.
- `list_messages` (name suggests: reads): List messages in a folder, filtered by unread, sender or label.
- `search_messages` (name suggests: reads): Full-text search with sender, date and attachment filters.
- `get_thread` (name suggests: reads): Retrieve a whole conversation.
- `send_message` (name suggests: changes): Send a new email with cc, bcc and attachments.
- `reply` (name suggests: changes): Reply or reply-all within a thread.
- `forward`: Forward a message with or without attachments.
- `create_draft` (name suggests: changes): Create a draft for human review.
- `update_draft` (name suggests: changes): Edit an existing draft.
- `list_attachments` (name suggests: reads): List received or uploaded files with filters.
- `get_attachment` (name suggests: reads): Read attachment text or fetch the file.
- `upload_file` (name suggests: changes): Save a file to the inbox drive.
- `move_message` (name suggests: changes): Move a message between folders.
- `add_label` (name suggests: changes): Apply a label to a message.
- `massive_send` (name suggests: changes): Send a templated email to many recipients.
- `get_massive_send` (name suggests: reads): Check progress of a bulk send.
- `retry_message`: Retry a failed send.
- `update_mailbox` (name suggests: changes): Change sender name and email signature.

## FAQ

### Can my agents receive files?

Yes. Each inbox has its own file storage, organised by sender and folder, and the agent can read, save or forward files.

### Can I use my own domain?

Yes, on the Pro plan. Free and Starter inboxes use the shared agents.mailforagents.io domain; with Pro you add the DNS records shown and the domain is verified automatically.

### Does one token access all my inboxes?

No. Each token belongs to a single inbox and can be scoped to read-only, read and send, or full access.

### What does each plan include?

Free gives 1 inbox and 3,000 emails a month. Starter is $12 with 10 inboxes and 10,000 emails. Pro is $120 with 150 inboxes and 150,000 emails, and custom domains are part of Pro.

### How do I add mailforagents to Claude Code?

Run this command in your terminal: claude mcp add --transport http mailforagents https://api.mailforagents.io/mcp

### What are the best alternatives to mailforagents?

The closest alternatives to mailforagents are AgentMail, AgentMail, agentsbase — Email for AI Agents, Botmail and Email Agent.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [AgentMail](https://ai-powered.com/mcp/agentmail): AgentMail is a freemium MCP server for communication.
- [AgentMail](https://ai-powered.com/mcp/agentmail-2): AgentMail is a freemium MCP server for communication.
- [agentsbase — Email for AI Agents](https://ai-powered.com/mcp/agentsbase-email-for-ai-agents): agentsbase — Email for AI Agents is a freemium MCP server for communication.
- [Botmail](https://ai-powered.com/mcp/botmail): Botmail is an MCP server for communication.
- [Email Agent](https://ai-powered.com/mcp/email-agent): Email Agent is a freemium MCP server for communication.
- [Agentboxd](https://ai-powered.com/mcp/agentboxd): Agentboxd is a freemium MCP server for communication.
- [Mail for Bots](https://ai-powered.com/mcp/mail-for-bots): Mail for Bots is a freemium MCP server for communication.
- [Mailly](https://ai-powered.com/mcp/mailly): Mailly is an MCP server for communication.

---
Source: https://ai-powered.com/mcp/mailforagents
