imap-mcp
imap-mcp
IMAP-Client-MCP. Lesen Sie E-Mails aus einem Dovecot- / Synology MailPlus-Postfach und lösen Sie optional Webhooks aus, wenn neue passende Nachrichten eingehen — ersetzt fehleranfälliges Gmail-OAuth für Automatisierungstrigger.
Tools
Tool | Beschreibung |
| Zusammenfassungen ungelesener Nachrichten |
| Rohe IMAP-SUCHE |
| Vollständige Nachricht (Header + Text + HTML) |
| Setzt das |
| In einen anderen Ordner verschieben |
| Alle Ordner |
| IMAP-Ping + Überwachungsregeln + Auslösezähler |
Related MCP server: @aiwerk/mcp-server-imap
Umgebung
Variable | Erforderlich | Beschreibung |
| ✓ | Server (z. B. |
| Standard | |
|
| |
| ✓ | Synology-Kontoname, nicht E-Mail |
| ✓ | |
| Standard | |
| Inline-JSON-Array von Überwachungsregeln | |
| Pfad zur JSON-Datei (Standard | |
| Standard | |
| MCP-Server-Port (Standard |
Überwachungsregeln
[
{
"name": "garmin-livetrack",
"mailbox": "INBOX",
"criteria": "FROM \"noreply@garmin.com\" SUBJECT \"LiveTrack\" UNSEEN",
"webhook_url": "http://host.docker.internal:5678/webhook/livetrack-mail",
"mark_read": true,
"move_to": null
}
]Beim Start "initialisiert" der Watcher jede Regel mit vorhandenen passenden UIDs, sodass nur neue E-Mails nach dem Booten ausgelöst werden. Alle POLL_INTERVAL_SECS führt er die Kriterien jeder Regel erneut aus und sendet passende Nachrichten (vollständiger Text) per POST an die webhook_url als { "rule": "...", "mailbox": "...", "message": {...} }. Nach einem erfolgreichen POST verschiebt er die Nachricht entweder nach move_to oder markiert sie als gelesen, falls mark_read gesetzt ist.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Your IMAP mailbox as an MCP server: read, search and (if you allow it) organize mail. Open source.
Hosted MCP server for your Gmail, Outlook and IMAP mail, with mailboxes and scopes set per agent.
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI models to read, search, and send emails via IMAP and SMTP protocols. It supports various providers like Gmail and Outlook, allowing for tasks such as retrieving unread messages, searching by sender, and managing mailbox folders.-
- AlicenseBqualityCmaintenanceUniversal IMAP/SMTP MCP server that works with any email provider, providing tools to read, search, send, and manage emails.10242 npm1MIT
- AlicenseAqualityDmaintenanceMCP server that enables email management (send, read, search, delete, etc.) via IMAP/SMTP, compatible with Gmail, Outlook, Yahoo, iCloud, and other standard mail servers.1139 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for reading and sending emails via IMAP and SMTP, designed for Zimbra and any standard mail host.12 npm1ISC