Agent Mail Gateway
Self-hosted MCP email gateway giving agents controlled mailbox, messaging, attachment, and calendar access.
Install Agent Mail Gateway
Run the project’s own setup commands, in order.
Setup steps from the project
Agent Mail Gateway installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
mkdir agent-mail-gateway && cd agent-mail-gatewaycurl -LO https://raw.githubusercontent.com/dominikamann/agent-mail-gateway/main/docker-compose.ymlcurl -L -o config.yaml https://raw.githubusercontent.com/dominikamann/agent-mail-gateway/main/config.example.yamlcurl -L -o .env https://raw.githubusercontent.com/dominikamann/agent-mail-gateway/main/.env.exampledocker compose up -d
Overview
Use cases
- Give an AI agent a dedicated email address
- Restrict agent communication to approved contacts
- Let agents manage email attachments
- Process calendar invitations through MCP
- Review agent-written messages before sending
Key features
- Per-mailbox API-key authentication
- IMAP and SMTP email access
- Markdown email conversion
- Attachment and thread handling
- Calendar invitation management
- Rules, LLM, and policy-based send review
Tools10
What Agent Mail Gateway lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Agent Mail Gateway works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Agent Mail Gateway
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agent-mail-gateway)<a href="https://allmcps.com/mcp/agent-mail-gateway"><img src="https://allmcps.com/api/badge/agent-mail-gateway?style=directory" alt="Agent Mail Gateway on AllMCPs" /></a>