imap-mcp
Provides IMAP client capabilities for Dovecot mail servers, enabling reading mail, searching messages, managing folders, and automating email processing through watch rules and webhooks.
Enables automation triggers for Garmin LiveTrack emails through IMAP watch rules, allowing automatic webhook firing when new Garmin LiveTrack emails arrive in the mailbox.
Provides an alternative to fragile Gmail OAuth for automation triggers by using IMAP to read mail and fire webhooks when new matching messages arrive from Gmail accounts.
Supports reading mail from Synology MailPlus mailboxes via IMAP, with specific configuration for Synology account names and integration with Synology's email infrastructure.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@imap-mcpshow me my unread emails from the last hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
imap-mcp
IMAP client MCP. Read mail from a Dovecot / Synology MailPlus mailbox, and optionally fire webhooks when new matching messages arrive — replaces fragile Gmail OAuth for automation triggers.
Tools
Tool | Description |
| Unread message summaries |
| Raw IMAP SEARCH |
| Full message (headers + text + html) |
| Set |
| Move to another folder |
| All folders |
| IMAP ping + watcher rules + fire count |
Related MCP server: io.github.p-w-4-z/inbox-mcp
Environment
Variable | Required | Description |
| ✓ | Server (e.g. |
| Default | |
|
| |
| ✓ | Synology account name, not email |
| ✓ | |
| Default | |
| Inline JSON array of watch rules | |
| Path to JSON file (default | |
| Default | |
| MCP server port (default |
Watch rules
[
{
"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
}
]On startup the watcher "primes" each rule with existing matching UIDs, so
only new mail after boot fires. Every POLL_INTERVAL_SECS it re-runs
each rule's criteria and POSTs matching messages (full body) to webhook_url
as { "rule": "...", "mailbox": "...", "message": {...} }. After a
successful POST it either moves the message to move_to, or marks it read
if mark_read.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn 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.Last updated
- AlicenseAqualityDmaintenanceProvider-agnostic email MCP server that connects any IMAP mailbox to AI assistants, enabling email management through natural language.Last updated8AGPL 3.0
- Alicense-qualityCmaintenanceA unified MCP server for email access across Gmail, Outlook, iCloud, and generic IMAP providers, enabling search, send, organize, and batch operations.Last updated27517MIT
- AlicenseBqualityBmaintenanceUniversal IMAP/SMTP MCP server that works with any email provider, providing tools to read, search, send, and manage emails.Last updated101101MIT
Related MCP Connectors
Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
AI email inbox and sending tools with attachments, search, live events, and webhooks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aviman1109/imap_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server