mcp-email
About
Self-hosted MCP server for any IMAP/SMTP inbox. Multi-account in one config. Built for Claude Code.
Details
- Author
- oneshotforge
- Categories
- Productivity, Other, AI
Jump to
Setup
Install mcp-email in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/oneshotforge/mcp-email
Follow the installation instructions in the repository README, then restart your MCP client.
Self-hosted MCP server for IMAP and SMTP. Multi-account in one config. Built for Claude Code and any MCP-compliant client.
Buy on Gumroad — $49·Landing page·Provider config docs
This is the public face ofmcp-email, a paid product fromOneShotForge. Thesource code lives in the paid bundlesold on Gumroad. This repo contains:
- The README you're reading (features, scope, FAQ)
- The full per-provider config docs (docs/CONFIG.md)
- The public changelog (CHANGELOG.md)
- The license terms (LICENSE)
If you're shopping: this is enough to decide whethermcp-emailfits your setup. The buy link is at the top.
If you've already purchased: the full TypeScript source, Docker setup, build configs, and complete installation guide are in the zip you received after checkout.
Anthropic's MCP spec lets agents talk to your tools. Email is the most-asked tool. But the existing "MCP email" servers I tried either lock you to Gmail, demand an OAuth setup that takes an afternoon, or break the moment you point them at a second account.
mcp-emailis the one I built for myself after that triage. I sell it because it now solves a problem cleanly enough that I'd rather get paid to maintain it than maintain it for free.
- Any IMAP/SMTP provider— Gmail, Hostinger, Fastmail, iCloud, Outlook 365, Proton (via Bridge), Yahoo, Zoho, custom domains, anything that speaks the protocol.
- Multi-account in one config— declare N accounts via env vars, every tool call takes anaccountargument. One server instance speaks to all of them.
- 15 tools, prod-grade— list, search, read, threads, attachments, send, draft, move, copy, delete, flag, folder CRUD. The boring operations are covered.
- Self-hosted, credentials never leave your box— runs locally vianpmor in Docker. Bearer-token auth on the MCP endpoint. No telemetry, no SaaS proxy.
- One.envfile— no OAuth dance, no service account JSON, no Google Cloud project. Generate app passwords on the provider side, drop them in, done.
After checkout onGumroad, you download a single zip containing:
- FullTypeScript sourcefor the server (Node 20+,@modelcontextprotocol/sdk,imapflow,nodemailer)
- Dockerfile + docker-compose.ymlready to run
- .env.examplewith the full template and inline comments
- The expanded README with install instructions, Claude Code wiring, production deployment via Caddy, and troubleshooting
- Aperpetual commercial license(seeLICENSEfor the full terms — unlimited business use, no resale, refund within the first day if it doesn't fit)
- Freepatch and minor updateswithin the 1.x major version
Approximate first-tool-call time after checkout: 5 minutes if your provider's app password is already generated.
I run on Hostinger and Gmail daily. Setup is documented and tested for the others.
Full per-provider setup indocs/CONFIG.md.
All tools take anaccountparameter — the ID you declared in.env. Folders default toINBOXwhere applicable.
After install (covered in the zip), add this to your project.mcp.jsonor~/.claude.jsonglobal:
{ "mcpServers": { "email": { "type": "http", "url": "http://localhost:3000/mcp", "headers": { "Authorization": "Bearer YOUR_MCP_AUTH_TOKEN" } } } }
Restart Claude Code (/mcpto verify the server isconnected), then try:
"List my last 5 unread emails in accountmain."
Or, for advanced usage with multi-account:
"Search accountsupportfor unanswered messages fromcustomer@example.comin the last 7 days, summarize them, and draft a reply in accountmain."
$49 one-time.Perpetual commercial license, unlimited business use, no recurring fee.
Same-day refund if it doesn't fit your setup. Emailhello@oneshotforge.comwithin 24 hours of buying and I'll process it (next morning if I'm asleep when you write).
- Authentication: app password or plain password only. No OAuth 2.0. This keeps the server stateless and provider-agnostic.
- Transport: HTTP only (no stdio). MCP over HTTP is the only mode that supports remote agents and shared infrastructure.
- Folder names: defaults assumeINBOX,Sent,Drafts,Trash. Servers with prefixes likeINBOX.Sentare handled with a fallback. Custom names require small code changes.
- Attachment download: 1 MB cap for binary attachments (returned as base64). Textual attachments (text/*, JSON, XML, ICS) have no cap.
- HTML body: truncated past 25,000 characters inemail_get_message. The text body is always sent in full.
- OptionalSENT_FOLDER/DRAFTS_FOLDER/TRASH_FOLDERenv overrides per account
- OAuth flow for Gmail and Microsoft (separate add-on, not bundled)
- Webhook on incoming mail (push-style notifications for agents)
- Calendar/ICS bridge (separate product, will integrate cleanly)
- AI auto-tagging via the Anthropic API
Vote with email — what do you want next?hello@oneshotforge.com.
TL;DR: unlimited personal and business use after purchase, no resale or redistribution of the source.
- Bugs and feature requests: emailhello@oneshotforge.comwith a clear repro.
- License questions, volume pricing: same address.
- Public changelog:CHANGELOG.md.
Persistent memory for any AI assistant. Zero token cost until recall. Stores memories in local SQLite, ranks by 6-factor scoring, returns results 79% smaller than JSON. Works with Claude, ChatGPT, Grok, Cursor, Windsurf, and any MCP client.
After Effects MCP is a full-featured automation bridge that connects AI clients (like VS Code, Claude Desktop, and Claude Code) to Adobe After Effects through MCP, enabling scripted control of compositions, layers, effects, keyframes/graph easing, presets, markers, audio levels, waveform analysis, and effect discovery via a live bridge panel.
Project management your AI can actually run — connect Claude, ChatGPT, Cursor & Codex to one board over MCP.
AIOProductOS spine over MCP — customers, revenue, feedback, work, analytics on one typed record.
The memory layer for AI coding tools. Local-first, semantic, 9 MCP tools with consolidation and project scoping. Works with Claude Code, Cursor, Windsurf & any MCP client.
One MCP server for Claude, ChatGPT & Gemini — wraps your ERPs, CRMs, APIs and knowledge base into a single governed endpoint.
Run your field service business from Claude: answer calls, book and dispatch jobs, build estimates, chase invoices. Built for HVAC, plumbing, electrical, roofing and pest control.
Complete Swiss accounting integration for Bexio via MCP. Works with Claude Desktop, n8n, and any MCP client. 221 tools for invoices, contacts, projects & more.
Persistent memory MCP server for Claude Desktop — remembers context, time, and topics across sessions
An MCP extension for the Claude Desktop application that enables automation and integration.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





