mailcom
The same IMAP/SMTP connector can be pointed at Gmail by supplying different server settings via environment variables, as a workaround for mail.com's Premium lock on IMAP/POP3 and forwarding.
Connects to a mail.com Premium mailbox over IMAP (imap.mail.com:993, SSL) and SMTP (smtp.mail.com:587 STARTTLS or 465 SSL), since mail.com has no public API. Tools cover connection checks, folder listing and stats, listing/searching/reading emails, downloading attachments, sending and replying to email, marking messages read, and deleting email. Includes a mail-support skill for project/support triage.
Click on "Deploy 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., "@mailcomlist my most recent unread emails and show the first one"
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.
GrokBot Mail.com Plugin
⚠️ Requires mail.com Premium — will NOT work on a free mailbox. Mail.com locks POP3/IMAP and email forwarding behind Premium, and offers no public API. This connector talks to the mailbox over IMAP/SMTP, so a free account simply has nothing for it to connect to. There is no workaround short of upgrading (or pointing the server at a different provider's IMAP/SMTP via env vars — Gmail works).
Status: archived for the above reason. Kept for reference.
Mail.com connector for GrokBot, as an MCP server. Mail.com has no public REST API, so this wraps the official mailbox protocols:
IMAP
imap.mail.com:993(SSL)SMTP
smtp.mail.com:587(STARTTLS, or465SSL)
Tools: check_connection, list_folders, folder_stats, list_emails, search_emails,
read_email, download_attachment, send_email, reply_email, mark_read, delete_email.
Plus a mail-support skill for project/support triage.
1. Enable IMAP in mail.com
In the webmailer, click the gear icon (bottom-left, under the folder list)
-> Settings -> POP3 & IMAP -> Enable access via POP3 and IMAP -> Save.
Login elsewhere is your full address (e.g. ColinKenny@programmer.net).
Related MCP server: Email Server
2. Run locally
pip install -r requirements.txt
copy .env.example .env # fill in MAILCOM_EMAIL + MAILCOM_PASSWORD
python server.py # stdio modeSelf-host HTTP mode:
$env:MCP_TRANSPORT="streamable-http"; $env:MCP_PORT="8000"; python server.py
# endpoint: http://localhost:8000/mcpOr Docker: docker build -t mailcom-mcp .; docker run -p 8000:8000 --env-file .env mailcom-mcp
3. Add to GrokBot (personal use, easiest)
GrokBot runs on a cloud computer — add the server in chat, not a config file. Push this repo to GitHub first, then tell your bot:
Add a custom MCP server called mailcom that runs:
python /path/to/server.py
with env vars MAILCOM_EMAIL and MAILCOM_PASSWORD (ask me for them as secrets).Or if you self-host: Add a custom MCP server called mailcom at https://your-host/mcp.
Then: Settings -> Plugins -> Yours -> mailcom, attach with @mailcom in chat.
Your bot was right: connectors are just MCP servers packaged as plugins —
plugin.json + mcp.json/.mcp.json + skills/ is that packaging here.
4. Publish to marketplace (optional)
Push this repo public.
Submit at
cursor.com/marketplace/publish(Agent Plugins layout).Review is manual; updates re-reviewed.
Security notes
Never commit
.envor real credentials (see.gitignore).Sending/deleting are side effects — the skill requires confirmation first.
Prefer
mark_readoverdelete_email.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read, send, file and search email in any Gmail, Microsoft 365 or IMAP mailbox, plus its calendar.
Send and receive email from your verified domains; manage domains, templates and deliverability.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Fully-managed email as MCP tools - register domains, real mailboxes, send and receive mail.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables email management through SMTP and IMAP protocols with support for sending emails with attachments, searching and filtering messages, replying/forwarding with threading, organizing mailboxes, and managing multiple email accounts.5254 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables email management through IMAP and SMTP protocols, supporting reading, sending, replying to emails with proper threading, and downloading attachments. Supports multiple email accounts with flexible configuration options.1BSD 3-Clause
- AlicenseAqualityBmaintenanceManages email accounts via IMAP/SMTP, enabling reading, searching, sending, replying, forwarding, and folder management with multi-user and OAuth support.22MIT
- AlicenseNot gradedqualityCmaintenanceEnables receiving and sending email via IMAP and SMTP across multiple accounts, with tools for listing, searching, reading, replying, and managing messages.MIT