Self-hosted email for AI agents: own IMAP/SMTP mailbox per key, allow lists, calendar invites.
unavailable — the image reference already carries a tag
Docker
docker run -i --rm ghcr.io/dominikamann/agent-mail-gateway:0.5.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"agent-mail-gateway": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/dominikamann/agent-mail-gateway:0.5.0"
]
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add agent-mail-gateway -- docker run -i --rm ghcr.io/dominikamann/agent-mail-gateway:0.5.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"agent-mail-gateway": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/dominikamann/agent-mail-gateway:0.5.0"
]
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"agent-mail-gateway": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/dominikamann/agent-mail-gateway:0.5.0"
]
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"agent-mail-gateway": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/dominikamann/agent-mail-gateway:0.5.0"
]
}
}
}Format verified against the official Windsurf docs ↗.
⭐ 11 stars · 最近更新于 31 天前 · MIT license
Agent Mail Gateway Give every AI agent its own email address — without giving it the keys to the mailbox. Agent Mail Gateway is a small self hosted service (one Docker container) that sits between your AI agents and ordinary mailboxes on your existing mail server. Each agent gets one API key for exa…
Summary from the project README — github.com/dominikamann/agent-mail-gateway
Distributed as Docker, listed under Communication. Review our MCP security guide before granting access to real data.
Agent Mail Gateway Give every AI agent its own email address — without giving it the keys to the mailbox. Agent Mail Gateway is a small self hosted service (one Docker container) that sits between your AI agents and ordinary mailboxes on your existing mail server. Each agent gets one API key for exa
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/dominikamann/agent-mail-gateway. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/agent-mail-gateway/)
HTML
<a href="https://mcpnav.net/server/agent-mail-gateway/"><img src="https://mcpnav.net/badge/agent-mail-gateway.svg" alt="Listed on MCPNav" height="20"></a>