agent-mail-gateway

Level CLocal

Self-hosted email MCP server & REST gateway: give each AI agent its own IMAP/SMTP mailbox with sender/recipient allow lists, HTML-to-Markdown, attachments and calendar invites. One Docker container.

⭐ 15Office & ProductivityTypeScriptRepo ↗Updated 2026-11-14

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "agent-mail-gateway": {
      "command": "npx",
      "args": [
        "ghcr.io/dominikamann/agent-mail-gateway:0.5.0"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/dominikamann/agent-mail-gateway

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "agent-mail-gateway": {
      "command": "npx",
      "args": [
        "ghcr.io/dominikamann/agent-mail-gateway:0.5.0"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers