Mails.ai — Agent Email MCP server
A real inbox for AI agents: send, receive and thread email, behind a prompt-injection firewall.
50 downloads/wk
Reviews
Write oneNobody has reviewed Mails.ai — Agent Email yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Mails.ai — Agent Email tools (20, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
mails.allowlist_addressOverride suppression for one address with a >=20 char attestation.
mails.check_suppressionCheck if an address is suppressed.
mails.create_agentwrite actionCreate a new agent.
mails.create_draftwrite actionStage a draft. Optionally pass send_at to schedule.
mails.forwardForward a message to new recipients.
mails.get_eventGet a specific inbound event by ID.
mails.get_receivedGet one received message including extracted reply text.
mails.get_reputationGet an agent's sending-reputation health (0-1) + its 30-day bounce/complaint/reply counts. The firewall auto-suspends an agent that crosses a 0.3% complaint rate — well before the upstream provider's 0.5% line — so check this to catch an at-risk agent before it gets paused.
mails.get_threadGet a full thread with all messages in chronological order.
mails.get_usageGet the current billing period usage.
mails.list_agentsList the agents in the workspace. Returns SENDABLE agents by default (status=live); archived agents cannot send, so they are excluded unless you ask for them. Pass status="all" to see archived ones too.
mails.list_messagesList recent cold/first-contact inbound (message.received) for an agent — senders that are NOT replying to one of your sends.
mails.list_receivedList recently received messages.
mails.list_repliesList recent reply events (reply.received) for an agent.
mails.list_threadsList threads (conversations) for the workspace or a specific agent.
mails.meWho am I — returns the authenticated workspace, agent, tier, and API-key scopes. Call this first to confirm the connection is live.
mails.replyReply to a previously-received message. Sets In-Reply-To + Re: subject server-side.
mails.sendwrite actionSend an email. `agent` is OPTIONAL: omit it and the workspace's single agent is used, or one is created for you (named from `from`) — so a first send needs no setup. Pass `agent` only when the workspace has several and you must say which. The reputation firewall runs on every send: an agent auto-suspended for crossing a 0.3% complaint rate is blocked (422 agent_paused), suppressed recipients are s
mails.send_draftwrite actionSend a previously-created draft.
mails.test_inboundSANDBOX (test key only): simulate an email arriving to one of your agents, so you can exercise the whole two-way loop — receive → prompt-injection scan → reply — with NO live mail server and no waiting. This runs the REAL reputation firewall. Read the VERDICT from top-level `quarantined` (boolean — true means we judged it an attack); the evidence sits in the `classification` block: injection_score
Public scan report
scanner v0.1.9 · 2026-09-20 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenanceno repository listed3/15
- Maintainer identityno repository or website to verify2/10
Findings (1)
- lowNo source repository listed
maint.no-repo
Install directly
Runs npx -y @mailsai/mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mails-agent-email -- npx -y @mailsai/mcp-server
Mails.ai — Agent Email: common questions
- Is Mails.ai — Agent Email MCP server safe?
- With care: it is graded C, so read the findings first (55/100). Read the Mails.ai — Agent Email safety report
- How do I install Mails.ai — Agent Email?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Mails.ai — Agent Email need an API key?
- Yes. The registry entry asks for
MAILS_API_KEY. - Is Mails.ai — Agent Email maintained?
- The latest release is v0.2.9.
- What can I use instead of Mails.ai — Agent Email?
- Servers from other publishers that do the same job: Atomic Mail MCP server, MCP server and Agent Email MCP server. Compare all Mails.ai — Agent Email alternatives.
Alternatives to Mails.ai — Agent Email
Same job from other publishers: the closest match first, then the best rated.
- Atomic MailProgrammable email inbox for AI agents — JMAP, PoW auth, stdio MCP server.not reviewedEstablishedA
- MCPEmail infrastructure for AI agents: send, read replies as threads, campaigns, per-key limits.not reviewedGrowingB
- Agent EmailLocal email connectivity for AI agents — read, draft, send, and organize Outlook mail via MCPnot reviewedGrowingA
PostfleetGive an AI agent its own email address: send, reply, read, and wait for mail.not reviewedGrowingA- MCPUnlimited agent mailboxes — create identities, read/wait for mail, extract OTPs, send email.not reviewedGrowingB