# Mails.ai — Agent Email

> Mails.ai — Agent Email is a freemium MCP server for communication. MCP server that gives AI agents real inboxes with send, receive and injection scanning. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $20 a month
- **Platforms:** API, CLI
- **Website:** https://mails.ai
- **MCP Registry name:** ai.mails/agent-email
- **Categories:** communication, security
- **Listing updated:** 2026-11-16

## About

Mails.ai gives each agent its own address that can send, receive and thread mail through an SDK, REST API or MCP. Incoming messages are scored for prompt injection across six kinds, and high-risk ones arrive flagged as quarantined so an agent can avoid them. Replies come as signed webhooks or a live stream with the sender's reputation attached, and codes and magic links in sign-in emails are pulled into their own fields.

A test key exercises the API without sending real mail, and reply@test.mails.ai answers within about a second, up to three times per thread. Sending safeguards include per-agent allowlists and caps, suppression checks at send time and automatic pausing when a sender's complaint rate reaches 0.3%.

The npm package @mailsai/mcp-server runs over stdio with an API key, or a hosted Streamable HTTP endpoint is available. Paid plans can send from your own domain.

## Features

- **Per-agent inboxes:** Each agent has its own address and threaded history.
- **Injection scanning:** Inbound mail is scored and high-risk messages are quarantined.
- **Test mode:** Test keys run without real mail or billing.
- **Sign-in code extraction:** Codes and magic links arrive in separate fields.
- **Drafts and scheduling:** Messages can wait as drafts or send at a set time.
- **Sender safeguards:** Allowlists, caps, suppression and complaint auto-pause.

## Good for

- Give a support agent its own address
- Run end-to-end sign-up tests that wait for the emailed code
- Let an agent draft replies for a person to approve
- Keep a prompt-injected email away from the model

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http agent-email https://api.mails.ai/mcp
```

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

```sh
https://api.mails.ai/mcp
```

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

```json
{
  "mcpServers": {
    "agent-email": {
      "url": "https://api.mails.ai/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-email": {
      "type": "http",
      "url": "https://api.mails.ai/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-email": {
      "serverUrl": "https://api.mails.ai/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agent-email": {
      "type": "http",
      "url": "https://api.mails.ai/mcp"
    }
  }
}
```

## FAQ

### Is there a free plan?

Yes: $0 with 3,000 emails and 3,000 inbound replies a month, one agent and the MCP server.

### Can I send from my own domain?

Yes on paid plans, by adding DKIM, SPF and DMARC records.

### How do I try it safely?

Use an mk_test_ key and the reply@test.mails.ai address.

### What does Pro cost?

$20 a month for 50K emails and 5 agents; Scale is $99 a month.

### Is Mails.ai — Agent Email free?

Mails.ai — Agent Email has a free plan, with paid plans for more usage or features. Paid plans start at $20 a month.

### How do I add Mails.ai — Agent Email to Claude Code?

Run this command in your terminal: claude mcp add --transport http agent-email https://api.mails.ai/mcp

### What are the best alternatives to Mails.ai — Agent Email?

The closest alternatives to Mails.ai — Agent Email are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [BoardAgent](https://ai-powered.com/mcp/boardagent): BoardAgent is a free MCP server for community directories.
- [Callout](https://ai-powered.com/mcp/callout): Callout is a freemium MCP server for communication.

---
Source: https://ai-powered.com/mcp/mails-ai-agent-email
