Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Status ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 💬 Communication
  3. Agent Mail Gateway
A
Health: ActiveRecent health check succeeded.Last checked 10/14/2026, 8:01:47 PM

Agent Mail Gateway

InstallableWe know how to install it, but have not yet seen it complete a handshake. User RatingsBe the first to rate and review this MCP server!
View Repository11 GitHub StarsTotal stargazers on GitHub for the source repository (11 stars).
emailcalendarmcpself-hostedagent-tools

Self-hosted MCP email gateway giving agents controlled mailbox, messaging, attachment, and calendar access.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON ▾

Client Config & Setup

Remote HTTP
Configure Environment Variables (API Keys, Tokens, Options):
Add required secrets below — values are included directly in the generated snippet so you can copy and paste with confidence.
Quick Add:
Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agent-mail-gateway": {
      "url": "http://localhost:8080/v1/messages",
      "env": {
        "AGENT_API_KEY": "YOUR_VALUE_HERE",
        "AGENT_MAIL_PASSWORD": "YOUR_VALUE_HERE"
      }
    }
  }
}

💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (10) Directory Badge Claim listing Alternatives💬 More in Communication

Overview

The Agent Mail Gateway MCP server connects AI agents to existing IMAP/SMTP mailboxes through per-mailbox API keys. It exposes tools for reading, searching, sending, replying to, and managing email, plus attachments and calendar invitations. Allow lists, send limits, audit records, and configurable pre-send reviews restrict agent actions. Use it when an agent needs email access without receiving the mailbox password or unrestricted access to incoming and outgoing mail.

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

Capabilities & Tool Schemas (10) ~169 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Agent Mail Gateway.

get_mailbox_info

Own address, current date and time, allow lists, limits and the review rules/policies

list_messages

Received mail, newest first; filter by unread, or search by text, sender, subject, date

read_message

One message as Markdown, incl. attachments list and received invitations

get_attachment

Download an attachment

mark_message

Mark read/unread; move to Trash (if allowed)

send_message

Send a new email (Markdown, attachments)

How Agent Mail Gateway works

What Agent Mail Gateway does

The Agent Mail Gateway MCP server gives an AI agent controlled access to a mailbox hosted on an existing mail server. Each configured mailbox has its own API key, and the gateway keeps the IMAP and SMTP credentials out of the agent. It can expose mail as Markdown, convert outgoing Markdown to HTML, and handle calendar invitations alongside ordinary email.

The service is intended for self-hosting, typically as one Docker container. Mail remains on the configured mail server, while the gateway stores its operational state in SQLite. Agents can connect through MCP over Streamable HTTP, use the included stdio bridge, or call the REST API.

How the Agent Mail Gateway MCP server works

An API key maps to exactly one configured mailbox. Receive and send allow lists determine which addresses the agent can see and contact; patterns such as *@domain are supported. Messages from disallowed senders are hidden from the agent and are moved to Trash or retained according to configuration.

Before sending an email or calendar invitation, the gateway can run fixed checks, optional LLM review, and administrator-defined policy checks. Built-in checks cover cases such as empty content, missing attachments referenced by the message, unresolved placeholders, duplicate messages, missing subjects, and invitations in the past. Reviews can block a request or issue a warning, depending on the mailbox settings.

Setup and configuration

Run the service with Docker Compose, then create a config.yaml entry for each mailbox. The entry contains the mailbox address, API key, IMAP and SMTP connection details, login credentials, and receive/send allow lists. Secrets can be supplied through .env; the example uses AGENT_API_KEY and AGENT_MAIL_PASSWORD.

The health endpoint runs at /health, and the REST API provides OpenAPI documentation at /docs. A mailbox can be checked with an authenticated request to /v1/mailbox. A dedicated mailbox per agent is recommended because messages outside the receive allow list may be moved to Trash.

Tools and capabilities

The Agent Mail Gateway MCP server exposes tools to:

  • Inspect mailbox identity, current time, limits, allow lists, and review settings.
  • List received messages with unread, text, sender, subject, and date filters.
  • Read messages as Markdown and inspect attachment and invitation information.
  • Download attachments, mark messages read or unread, and move permitted messages to Trash.
  • Send new messages, reply or reply-all, and forward messages with attachments.
  • Create, update, or cancel calendar invitations; list events and attendee responses.
  • Accept, decline, or tentatively accept received invitations.

It also supports signed new-mail webhooks and records sends, rejections, and deletions in an audit log. Calendar invitations are designed to update in Outlook, Gmail, and Apple Calendar.

Limitations and notes

The gateway does not replace the underlying IMAP/SMTP server; each mailbox still requires working mail-server configuration and credentials. Access is limited by the configured allow lists and review behavior. Optional LLM review uses an OpenAI-compatible endpoint, such as a local Ollama service, and policies can be scoped to particular recipients. The material does not specify a hosted deployment option, so operation requires self-hosting.

Read the full README →View source on GitHub →

Related MCP Servers

View all in Communication View all alternatives
  • Proton Mail MCP logoProton Mail MCP

    Unofficial Proton Mail MCP server — send, read, search, and organize email over SMTP and IMAP (via Proton Mail Bridge). Bulk ops with dry-run previews, read-only mode, and Trash-by-default deletes. Not affiliated with Proton AG.

    💬 Communication1 views
    Compare vs Proton Mail MCP →
  • Sebastianall1977 Gmail MCP logoSebastianall1977 Gmail MCP

    Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…

    💬 Communication2 views
    Compare vs Sebastianall1977 Gmail MCP →
  • Faithk7 Gmail MCP logoFaithk7 Gmail MCP

    Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…

    💬 Communication2 views
    Compare vs Faithk7 Gmail MCP →
  • Omnicord logoOmnicord

    Hands your AI an entire Discord server: 148 tools covering chat, moderation, automod, events, and full administration, up to building a complete community server from one paragraph. One-command guided setup, and every destructive action previews and waits for your confirmation.

    💬 Communication9 views
    Compare vs Omnicord →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
11
Stargazers on the source repository.
Last commit
2d ago
Most recent push to the default branch.
Tools exposed
10
Callable tools this server registers over MCP.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Agent Mail Gateway

Agent Mail Gateway is an MCP server that connects AI agents to existing IMAP/SMTP mailboxes without exposing mailbox passwords. Its main tools list, read, search, send, reply to, and manage messages and attachments, plus create events, list events, and respond to calendar invitations.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Mail Gateway AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agent-mail-gateway?style=directory)](https://allmcps.com/mcp/agent-mail-gateway)
HTML Embed
<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>

Technical Specs & Signals

Category💬Communication
More technical detailsExpand ▾
TransportSSE (Remote)
LicenseMIT
ClientsClaude Desktop, Cursor, Cline / VS Code, Windsurf, Claude Code, VS Code (GitHub Copilot), Zed, OpenAI Codex CLI, Gemini CLI, JetBrains AI Assistant, Roo Code, Continue, LM Studio
Last updatedOct 14, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars11
GitHub Star CountTotal stargazers on GitHub representing community popularity (11 stars).
Last commit2d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Oct 12, 2026
55Quality signal: Good · 55/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity6/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server →

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 💬 Communication →Best MCP servers for Slack & Communication →Alternatives to Agent Mail Gateway →Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients