open-agent-email
Self-hosted email inboxes that give AI agents real addresses and human approval controls
Install
See the repository for setupWhat it does
Open Agent Email is an Apache-2.0, self-hosted mail server that provides each AI agent with its own address and mailbox. Incoming messages arrive through a listener on port 25 that checks SPF, DKIM and DMARC and scans for prompt-injection patterns before an agent reads anything. Outgoing mail goes through one SMTP relay you configure, such as Amazon SES, SendGrid, Postmark or a Gmail account, with optional holds that require a person to approve risky messages. Agents connect over a REST API, signed webhooks, a WebSocket live stream, Python and TypeScript SDKs, an oae command line, or an MCP endpoint with 96 tools for clients including Claude Code and Cursor. A browser dashboard covers inboxes, approvals, the outbox, domains, keys, contacts and templates. Mailboxes can run on SQLite or PostgreSQL.
The project suits developers who want agents to handle support replies, verification codes or outreach without sharing a human login. Receiving internet mail requires a public server, an MX record and port 25 open; sending requires a relay. Delivery tracking is tied to Amazon SES, and deployment notes target a single Linux host rather than a managed service.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 2,138
- Last push
- Oct 22, 2026
- License
- Apache-2.0
- Archived
- No
Other Gmail MCP servers
Compare serversFAQ
- What license does open-agent-email use?
- Apache-2.0
- Does open-agent-email run locally or remotely?
- It runs locally.
- Is open-agent-email an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/open-agent-email"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.