email-mcp
by codefuturist·★ 45·Score 47
Full-featured MCP email server with IMAP/SMTP support, OAuth2, and AI-powered triage across multiple accounts.
Overview
The email-mcp server provides comprehensive email management capabilities through the Model Context Protocol. It implements both IMAP for reading emails and SMTP for sending, supporting multiple email accounts simultaneously. The server exposes 47 tools, 7 prompts, and 6 resources, including features like email scheduling, calendar extraction, provider-aware label management, and real-time IMAP IDLE watcher with AI-powered triage. It supports OAuth2 authentication for Gmail and Microsoft 365 (experimental) and offers both CLI and Docker deployment options.
Try asking AI
After installing, here are 8 things you can ask your AI assistant:
When to choose this
Choose this server when you need comprehensive email management with multi-account support, advanced features like email scheduling and AI triage, and integration with multiple MCP clients.
When NOT to choose this
Avoid if you only need basic email reading/sending functionality or prefer OAuth2 over experimental token authentication.
Tools this server exposes
12 tools extracted from the READMElist_emailsList emails in a mailbox with filtering options
send_emailSend a new email with attachments
reply_emailReply to an existing email
schedule_emailSchedule an email to be sent at a future time
search_emailsSearch for emails using complex queries
move_emailMove an email between mailboxes
add_labelAdd a label to an email
extract_calendarExtract calendar events from email content
create_draftCreate a new email draft
manage_accountManage email account settings
realtime_monitorMonitor mailbox for new emails in real-time
analyze_emailAnalyze email content for insights or summaries
Comparable tools
Installation
Installation
Quick Setup
# Run directly
npx @codefuturist/email-mcp setup
# Or install globally
npm install -g @codefuturist/email-mcpDocker
docker pull ghcr.io/codefuturist/email-mcp:latestClaude Desktop Configuration
{
"mcpServers": {
"email": {
"command": "npx",
"args": ["-y", "@codefuturist/email-mcp", "stdio"]
}
}
}Environment Variables (Single Account)
{
"mcpServers": {
"email": {
"command": "npx",
"args": ["-y", "@codefuturist/email-mcp", "stdio"],
"env": {
"MCP_EMAIL_ADDRESS": "you@gmail.com",
"MCP_EMAIL_PASSWORD": "your-app-password",
"MCP_EMAIL_IMAP_HOST": "imap.gmail.com",
"MCP_EMAIL_SMTP_HOST": "smtp.gmail.com"
}
}
}
}FAQ
- What email providers are supported?
- The server auto-detects settings for Gmail, Outlook, Yahoo, iCloud, Fastmail, ProtonMail, Zoho, and GMX. Custom IMAP/SMTP servers are also supported.
- Is OAuth2 authentication available?
- Yes, OAuth2 is available for Gmail and Microsoft 365 as an experimental feature. Token refresh and provider-specific flows may require additional testing.
- How do I set up multiple accounts?
- Use `email-mcp account add` to add accounts interactively, or manually configure multiple account sections in the TOML config file at ~/.config/email-mcp/config.toml.
Compare email-mcp with
Last updated · Auto-generated from public README + GitHub signals.