Skip to content
MCP server

mailforagents

Give AI agents their own email inboxes, reachable over MCP or API

mailforagents is a freemium MCP server for communication. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Freemium
Platforms
Web, API
Runs
Remotely
What it can do
Can change data (9 tools)
Version
1.1.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

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.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

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.

ChatGPT setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

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.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mailforagents": {
      "type": "http",
      "url": "https://api.mailforagents.io/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About mailforagents

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.

Tools this server provides (18)

Taken from the project documentation; the running server may differ.

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_mailboxName suggests: reads
Address, signature, unread and folder counts, and plan usage.
list_messagesName suggests: reads
List messages in a folder, filtered by unread, sender or label.
search_messagesName suggests: reads
Full-text search with sender, date and attachment filters.
get_threadName suggests: reads
Retrieve a whole conversation.
send_messageName suggests: changes
Send a new email with cc, bcc and attachments.
replyName suggests: changes
Reply or reply-all within a thread.
forward
Forward a message with or without attachments.
create_draftName suggests: changes
Create a draft for human review.
update_draftName suggests: changes
Edit an existing draft.
list_attachmentsName suggests: reads
List received or uploaded files with filters.
get_attachmentName suggests: reads
Read attachment text or fetch the file.
upload_fileName suggests: changes
Save a file to the inbox drive.
move_messageName suggests: changes
Move a message between folders.
add_labelName suggests: changes
Apply a label to a message.
massive_sendName suggests: changes
Send a templated email to many recipients.
get_massive_sendName suggests: reads
Check progress of a bulk send.
retry_message
Retry a failed send.
update_mailboxName suggests: changes
Change sender name and email signature.

What it does

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

Pricing

Freemium, from $12 a month

Free plan with 1 inbox; Starter $12/mo; Pro $120/mo

Prices change. Check mailforagents.io before you buy.

mailforagents 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.

How AIPoweredBot checks servers