Email MCP Server
Allows interacting with AOL Mail accounts via IMAP/SMTP, providing tools for reading, sending, managing, and automating emails.
Allows interacting with Gmail or Google Workspace accounts via IMAP/SMTP, providing tools for reading, sending, managing, and automating emails.
Allows interacting with iCloud or Me.com email accounts via IMAP/SMTP, providing tools for reading, sending, managing, and automating emails.
Allows interacting with Zoho Mail accounts via IMAP/SMTP, providing tools for reading, sending, managing, and automating emails.
Click on "Install 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., "@Email MCP Servercheck my inbox and summarize the important emails"
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.
Email MCP Server
Universal email integration for AI assistants. Works with Gmail, Outlook, Yahoo, Zoho, iCloud, AOL, and any IMAP email provider.
Read, send, reply, draft, manage, clean up, run cold email campaigns, auto-triage, and track follow-ups — all through the Model Context Protocol.
Compatible with Claude Desktop, Cursor, Hermes Agent, Windsurf, and any MCP client.
Why This Exists
Every email MCP out there only works with Gmail via Google Cloud OAuth. This one:
Works with ANY email provider — Gmail, Outlook, Yahoo, Zoho, iCloud, AOL, custom domains
No Google Cloud project needed — uses IMAP + App Passwords (free, 30 seconds)
18 tools — full email management + AI-powered automation
Zero data leaves your machine — everything runs locally
Related MCP server: IMAP Email MCP Server
Supported Providers (Auto-Detected)
Provider | IMAP | SMTP |
Gmail / Google Workspace | imap.gmail.com:993 | smtp.gmail.com:465 |
Outlook / Hotmail / Live | outlook.office365.com:993 | smtp.office365.com:587 |
Yahoo Mail | imap.mail.yahoo.com:993 | smtp.mail.yahoo.com:465 |
Zoho Mail (.com, .in, .eu, .com.au, .jp) | imap.zoho.com:993 | smtp.zoho.com:465 |
iCloud / Me.com | imap.mail.me.com:993 | smtp.mail.me.com:587 |
AOL Mail | imap.aol.com:993 | smtp.aol.com:465 |
Any custom IMAP | Set | Set |
Just enter your email — the server auto-detects the provider.
18 Tools
Read (5)
Tool | Description |
| Search emails with query syntax |
| Read full email by ID |
| Read entire conversation |
| Quick inbox view (unread filter) |
| Account info |
Send (5)
Tool | Description |
| Send email (HTML, CC, BCC, threading) |
| Reply to email (auto-sets headers) |
| Create draft |
| Send existing draft |
| List all drafts |
Manage (8)
Tool | Description |
| List all folders/labels |
| Create new folder |
| Archive messages |
| Move to trash |
| Permanent delete |
| Toggle read status |
| Toggle star/flag |
| Move between folders |
Automation (7) — The Premium Features
Tool | Description |
| Morning summary grouped by sender |
| Prepare AI reply context |
| Classify unread by priority |
| Archive old/newsletter/social (dry-run) |
| Personalized bulk emails with placeholders |
| Find sent emails with no reply |
| Extract contacts from email history |
Quick Start
1. Generate an App Password
Gmail:
Select app → Generate → Copy the 16-char password
Outlook/Hotmail:
Create new app password → Copy
Yahoo:
Generate app password for "Mail"
Zoho:
Generate new app password → Copy
2. Install & Run
cd email-mcp-server
npm install
npm run build
# Set credentials
export EMAIL_ADDRESS="you@example.com"
export EMAIL_PASSWORD="your-app-password"
# Run
node build/index.js3. Connect to Your AI
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"email": {
"command": "node",
"args": ["C:/path/to/email-mcp-server/build/index.js"],
"env": {
"EMAIL_ADDRESS": "you@example.com",
"EMAIL_PASSWORD": "your-app-password"
}
}
}
}Cursor (.cursor/mcp.json): Same structure as above.
Hermes Agent:
hermes mcp add email --command node --args C:/path/to/email-mcp-server/build/index.jsUsage Examples
"Check my inbox and summarize the important emails" "Read the email from john@company.com and draft a reply" "Clean up my inbox — archive all newsletters older than 7 days" "Send cold emails to these 5 prospects about web development" "Show me emails I sent that haven't gotten a reply" "Triage my unread emails by priority"
Cold Email Campaign
{
"recipients": [
{ "email": "john@acme.com", "name": "John", "company": "Acme Corp" },
{ "email": "sarah@startup.io", "name": "Sarah", "company": "StartupIO" }
],
"subject_template": "Quick question about {{company}}'s tech stack",
"body_template": "<p>Hi {{name}},</p><p>I noticed {{company}} is growing fast...</p>",
"create_drafts": true
}Always use create_drafts: true first to review before sending.
Custom IMAP/SMTP
For providers not in the auto-detect list:
export IMAP_HOST="mail.yourprovider.com"
export IMAP_PORT="993"
export SMTP_HOST="smtp.yourprovider.com"
export SMTP_PORT="465"Security
Credentials in environment variables only (never written to disk)
All processing local — no external API calls
App Passwords revocable anytime from provider settings
License
MIT — Use freely, modify, sell as part of your services.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aftab-web-dev/email-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server