Emailbox
FreeNot checkedThis is MCP server to work with Email Box over IMAP/SMTP with support of both STDIO and Streaming HTTP transports and support of MCP Notifications
About
This is MCP server to work with Email Box over IMAP/SMTP with support of both STDIO and Streaming HTTP transports and support of MCP Notifications
README
An MCP (Model Context Protocol) server that provides real email communication capabilities using IMAP for reading and SMTP for sending emails. Written with Go.
This is the MCP server to integrate email functionalities into MCP-compatible AI Agents and applications. It supports sending emails in text, markdown, and HTML formats, reading inbox messages, fetching full email contents including attachments, and receiving new email notifications via background polling.
The aim is to have a simple yet powerful email MCP server supporting notifications about new emails and full email content retrieval.
Features
- Send emails via SMTP with support for text, markdown, and HTML formats
- Read inbox via IMAP with filtering options
- Get full email contents including attachments
- New email notifications via background polling
- Dual transport: STDIO mode for local MCP clients, HTTP streaming for network deployments
- Contact list support via configuration
- Works with Gmail using App Password (no oAuth2 required)
Quick Start
- Copy
config.json.exampletoconfig.jsonand fill in your IMAP/SMTP credentials. - Build and run:
# STDIO server
cd stdio-server && go build -o mcp-email-stdio && ./mcp-email-stdio
# HTTP server
cd http-server && go build -o mcp-email-http && ./mcp-email-http
The config.json file must be in the same directory as the binary.
MCP Tools
| Tool | Description |
|---|---|
send_email |
Send an email (to, subject, body, optional cc/bcc) |
get_inbox |
List inbox emails (optional limit, unread filter) |
get_email_contents |
Get full content of a specific email by ID |
get_attachment |
Download an email attachment as base64 by email ID and attachment index |
Requirements
- Go 1.23+
- An email account with IMAP/SMTP access
License
This project is licensed under the CC BY-NC 4.0 License. See LICENSE for details.
Installing Emailbox
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Gelembjuk/emailbox-mcp-serverFAQ
Is Emailbox MCP free?
Yes, Emailbox MCP is free — one-click install via Unyly at no cost.
Does Emailbox need an API key?
No, Emailbox runs without API keys or environment variables.
Is Emailbox hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Emailbox in Claude Desktop, Claude Code or Cursor?
Open Emailbox on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare Emailbox with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
