Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Agent Mail Gateway

de dominikamannversión 0.5.0i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.dominikamann/agent-mail-gateway

Instalar

Resumen

Descripción del creador (original en inglés)

Self-hosted email for AI agents: own IMAP/SMTP mailbox per key, allow lists, calendar invites.

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: Streamable HTTP
  • Categoría: Chat y correo

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

Necesitas

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

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

Ejecuta esto en tu terminal

claude mcp add agent-mail-gateway -- docker run -i --rm ghcr.io/dominikamann/agent-mail-gateway:0.5.0

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

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

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "agent-mail-gateway": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/dominikamann/agent-mail-gateway:0.5.0"
      ]
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 10 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub dominikamann, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Chat y correoi

  • Más estrellas que el 0% de los otros 1903 servidores de esta categoría
  • Publicado en el registro más recientemente que el 59% de los otros 1903 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 1903 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Agent Mail Gateway?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.5.0) llegó al registro hace 21 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Docker en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Vexa, emailmd, MCP WhatsApp Cloud

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:↓ Descargas por semanai★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Vexa

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

de Vexa-aiMuy usado★ 2,9 milActualizado hace 2 meses

Se ejecuta en la nube✓ vexa.ai

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

de anypostMuy usado↓ 5,3 mil/sem★ 1,4 milActualizado hace 34 días

Computadora o nube✓ emailmd.dev

MCP WhatsApp Cloud

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

de codesparInicial↓ 63/sem★ 277Actualizado hace 5 meses

Se ejecuta en tu computadora

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

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 exactly one mailbox. Through the gateway it can read and answer mail, send attachments and manage calendar invitations — but only with the people you allow, and every outgoing message is checked before it leaves.

Agents talk to it over MCP (Model Context Protocol) or a plain REST API. Mail arrives as Markdown instead of HTML, which saves a lot of tokens.


Why

Giving an agent the IMAP/SMTP password of a mailbox means it can read everything, write to anyone, and a single prompt injection in an incoming email can make it leak data or spam people. The gateway keeps the password to itself and enforces your rules on every request:

Without the gatewayWith the gateway
Agent knows the mailbox passwordAgent only has an API key for its mailbox
Reads every mail, incl. spam and phishingSees only mail from senders you allow
Can write to anyoneCan only write to recipients you allow
Sloppy or wrong mails go outEvery mail is checked before sending (rules, optional LLM, your policies)
Malware and prompt injections reach the agentAttachments and content are checked on arrival: hidden or flagged
HTML mails cost thousands of tokensMail arrives as compact Markdown

Features

Mailbox access

  • List, search, read, mark, delete; attachments in and out — as text, base64 or straight from a received message, so agents never have to juggle base64 for a CSV.
  • PDFs and images as text for the agent (get_attachment with format: "text"): PDF text layer built in, images via a vision model or local OCR (Tesseract).
  • Reply (incl. reply-all) and forward — the gateway fills in recipients, Re:/Fwd: and threading.
  • HTML → Markdown for reading, Markdown → HTML for sending.

Calendar

  • Send, update and cancel invitations; they update cleanly in Outlook, Gmail and Apple Calendar.
  • See who accepted or declined your invitations.
  • Read invitations you receive and accept, decline or tentatively accept them.

Control and safety

  • Allow lists per mailbox for who the agent may receive mail from and write to (name@domain or *@domain). Everything else is invisible to the agent and moved to Trash (or kept).
  • Forged senders are rejected (SPF/DKIM/DMARC as checked by your mail server).
  • Attachment and content checks on incoming mail, each set to hide, flag or off and skippable per sender: dangerous files (programs, macros, disguised file types — on by default), virus scan with ClamAV, and a prompt injection check of text, PDFs and images (details below).
  • Send limit per hour, audit log of every send, rejection and deletion.
  • No fast retries on wrong passwords, so your server's fail2ban never blocks the gateway.

Review before sending (details below)

  • Built-in rules catch empty mails, attachment-only mails, "see attached" without attachment, leftover placeholders and accidental duplicates — on by default.
  • Optional LLM review (e.g. a local model in Ollama) for "is this mail complete and sensible?".
  • Optional policies: your own rules in plain language, for everyone or for specific recipients — e.g. *"never share financial information"*, *"never mention gifts to Alex"*.

Integration

  • MCP over Streamable HTTP, a stdio bridge for stdio-only clients, and a REST API with OpenAPI docs at /docs.
  • Signed webhooks when new mail arrives (compatible with Hermes Agent webhook routes).
  • Hermes Agent plugin with a skill that teaches the agent how to use its mailbox.
  • Works with any IMAP/SMTP server: Plesk, IONOS, Outlook, Postfix/Dovecot, …

How it works

 Agent ──MCP / REST + API key──▶ ┌────────────────────────────────────────┐

│ Auth key → exactly one mailbox │ Agent ◀──signed webhook──────── │ Policy who may write / be written │ │ Review rules · LLM · your policies │ │ Inbound file types · virus · inject.│ │ Converter HTML ⇄ Markdown │ │ Calendar invitations and replies │ │ Mailbox IMAP + instant new-mail push│──IMAP──▶ your mail server │ Sender SMTP + copy to "Sent" │──SMTP──▶ └────────────────────────────────────────┘ config.yaml + .env (read-only)

Mail stays on your mail server; the gateway only keeps a small SQLite file with its own state.

Quick start

Use a dedicated mailbox for each agent (for example assistant@yourmailserver.eu), not your

personal one: by default, mail from senders that are not on the allow list is moved to Trash.

  1. Get the files:
   mkdir agent-mail-gateway && cd agent-mail-gateway

curl -LO https://raw.githubusercontent.com/dominikamann/agent-mail-gateway/main/docker-compose.yml curl -L -o config.yaml https://raw.githubusercontent.com/dominikamann/agent-mail-gateway/main/config.example.yaml curl -L -o .env https://raw.githubusercontent.com/dominikamann/agent-mail-gateway/main/.env.example

2. Edit `config.yaml`: one entry per agent with its mail server, login and allow lists.
  1. Put the secrets into .env (openssl rand -hex 32 makes a good API key).
  2. Start it and check:
   docker compose up -d

curl http://localhost:8080/health # {"status":"ok"}; with a key also that mailbox's state curl -H "Authorization: Bearer " http://localhost:8080/v1/mailbox

A minimal mailbox entry:

mailboxes:
  • name: assistant address: youragent@yourmailserver.eu api_key: ${AGENT_API_KEY} imap: { host: mail.yourmailserver.eu, port: 993, security: tls } smtp: { host: mail.yourmailserver.eu, port: 465, security: tls } username: youragent@yourmailserver.eu password: ${AGENT_MAIL_PASSWORD} allow_receive_from: [you@yourmailserver.eu, "*@yourcompany.eu"] allow_send_to: [you@yourmailserver.eu]

Every option is explained in docs/configuration.md.

Review before sending

Agents are sometimes sloppy — an email with only an attachment, "please find attached" without a file, Hello {name}. The gateway checks every outgoing email and invitation before it is sent. If something is wrong, nothing is sent and the agent gets a clear error with the reasons (review_rejected), so it can fix the message and try again. Rejected attempts don't count towards the send limit.

There are three layers; you choose per mailbox:

LayerDefaultWhat it does
Ruleson (block)Fixed checks without AI: empty text, only an attachment, missing subject, attachment mentioned but missing, leftover placeholders, the same mail twice within 10 minutes, invitations in the past.
LLM reviewoffAsks a language model whether the message is complete and makes sense (e.g. does the reply actually answer the question?).
PoliciesoffYour own rules in plain language, checked by the language model — for all recipients or only for specific ones.

Rules and the LLM review can block the message, only warn (send anyway and report it), or be switched off; each policy rule either blocks or warns. The check covers new mails, replies, forwards, invitations and their changes, and comments in invitation answers.

    review:

rules: block # block | warn | off llm: # any OpenAI-compatible endpoint, e.g. a local Ollama url: http://ollama:11434/v1 model: llama3.1:8b mode: warn # quality check: warn | block | off policies: mode: block # what a violation does: block | warn rules:

  • rule: Never share financial information such as revenue, prices, invoices, bank details or salaries.
  • rule: Never mention gifts, presents or surprise plans. recipients: [alex@yourmailserver.eu]
  • rule: Never send calendar invitations. recipients: [sam@yourmailserver.eu]

Policies also read attachments: text files, PDFs, and images when attachments.read_images is set. A rule with recipients applies only when one of those people receives the message (To, Cc, Bcc or invitation attendee). With Ollama the review runs entirely on your own machine; no mail content leaves your server. Long messages are checked in parts — nothing is cut off; part size and limits are configurable to fit your model's context window. The built-in review prompt can be replaced or extended — see docs/configuration.md.

Incoming mail checks

Allow lists decide *who* can reach your agent; these checks look at *what* arrives. For each check you choose what a finding does: hide the message (like a sender that is not allowed), flag it (the agent sees it with a warning and cannot download dangerous files), or off. With skip_senders a check is skipped for trusted senders — so you can still send your agent instructions by mail.

CheckDefaultWhat it does
dangerous_attachmentflagPrograms and scripts (by name and content), Office files with macros, disguised files (invoice.pdf that is not a PDF), ZIPs with programs, password-protected archives. Applies to outgoing files too.
virushideScans every attachment with ClamAV (optional container); also outgoing.
prompt_injectionflagThe model from review.llm checks text, PDFs and images for instructions aimed at an AI.
scan_failedflagA check could not run (scanner or model unreachable).
    attachments:

clamav: { host: clamav, port: 3310 } # optional, see docker-compose.yml read_images: { engine: ocr, languages: [eng, deu] } # or a vision model inbound_checks: prompt_injection: action: flag skip_senders: [you@yourmailserver.eu] # your own instructions are not flagged dangero

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx