Multi-account IMAP/SMTP email server with 22 tools for reading, sending, searching, and organizing.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-boutquin-email": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Multi-account email server for the Model Context Protocol. Gives LLMs full email access — read, send, search, organize — over IMAP/SMTP with connection pooling, rate limiting, and retry. Designed as the remote-email counterpart to apple-bridge (local Mail.app access).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in communication
An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages.
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
MCP server for Kaseya Autotask PSA — 39 tools for companies, tickets, projects, time entries, and more
Email & SMS infrastructure for AI agents — send and receive real email and text messages programmatically
MCP Security Weekly
Get CVE alerts and security updates for io.github.boutquin/email and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Multi-account email server for the Model Context Protocol. Gives LLMs full email access — read, send, search, organize — over IMAP/SMTP with connection pooling, rate limiting, and retry. Designed as the remote-email counterpart to apple-bridge (local Mail.app access).
Install
go install github.com/boutquin/mcp-server-email/cmd/mcp-server-email@latest
Create a config file (~/.config/mcp-email/accounts.json)
For well-known providers (Gmail, Outlook, Yahoo, iCloud, Fastmail, Zoho), host and port are auto-detected from the email domain — just provide credentials:
[
{
"id": "hello",
"email": "hello@gmail.com",
"username": "hello@gmail.com",
"password": "app-password-here"
}
]
For custom mail servers, specify host and port explicitly:
[
{
"id": "work",
"email": "hello@example.com",
"imap_host": "mail.example.com",
"imap_port": 993,
"smtp_host": "mail.example.com",
"smtp_port": 465,
"username": "hello@example.com",
"password": "app-password-here"
}
]
chmod 600 ~/.config/mcp-email/accounts.json
Add to Claude Code (~/.claude.json)
{
"mcpServers": {
"email": {
"command": "mcp-server-email",
"env": {
"EMAIL_CONFIG_FILE": "~/.config/mcp-email/accounts.json"
}
}
}
}
Restart Claude Code — the email_* tools are now available.
go install github.com/boutquin/mcp-server-email/cmd/mcp-server-email@latest
brew install boutquin/tap/mcp-server-email
Download pre-built binaries for your platform from GitHub Releases.
Available for: Linux (amd64, arm64), macOS (amd64, arm64), Windows (amd64, arm64).
docker run --rm \
-e EMAIL_ACCOUNTS='[{"id":"main","email":"user@example.com","imap_host":"mail.example.com","imap_port":993,"smtp_host":"mail.example.com","smtp_port":465,"username":"user@example.com","password":"app-password"}]' \
ghcr.io/boutquin/mcp-server-email:latest
Download the .mcpb file from Releases and open in Claude Desktop.
git clone https://github.com/boutquin/mcp-server-email.git
cd mcp-server-email
go build -o mcp-server-email ./cmd/mcp-server-email
Accounts are loaded once at startup. Changes require a server restart.
| Approach | Best for |
|---|---|
EMAIL_CONFIG_FILE — path to a JSON file | Production use. File can be permission-locked (chmod 600) |
EMAIL_ACCOUNTS — inline JSON in env var | Testing, CI, or containerized deployments |
If both are set, EMAIL_ACCOUNTS takes precedence.
[
{
"id": "hello",
"email": "hello@example.com",
"imap_host": "mail.example.com",
"imap_port": 993,
"smtp_host": "mail.example.com",
"smtp_port":
... [View full README on GitHub](https://github.com/boutquin/mcp-server-email#readme)