Email MCP Server

Email MCP Server

Universal email integration for AI assistants, supporting any IMAP provider with 18 tools for reading, sending, managing, and automating emails.

Category
访问服务器

README

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

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 IMAP_HOST env var Set SMTP_HOST env var

Just enter your email — the server auto-detects the provider.


18 Tools

Read (5)

Tool Description
email_search Search emails with query syntax
email_read Read full email by ID
email_read_thread Read entire conversation
email_inbox Quick inbox view (unread filter)
email_profile Account info

Send (5)

Tool Description
email_send Send email (HTML, CC, BCC, threading)
email_reply Reply to email (auto-sets headers)
email_draft Create draft
email_send_draft Send existing draft
email_list_drafts List all drafts

Manage (8)

Tool Description
email_labels List all folders/labels
email_create_label Create new folder
email_archive Archive messages
email_trash Move to trash
email_delete Permanent delete
email_mark_read / email_mark_unread Toggle read status
email_star / email_unstar Toggle star/flag
email_add_label / email_remove_label Move between folders

Automation (7) — The Premium Features

Tool Description
email_digest Morning summary grouped by sender
email_suggest_reply Prepare AI reply context
email_triage Classify unread by priority
email_cleanup Archive old/newsletter/social (dry-run)
email_cold_campaign Personalized bulk emails with placeholders
email_follow_up Find sent emails with no reply
email_contacts Extract contacts from email history

Quick Start

1. Generate an App Password

Gmail:

  1. Go to https://myaccount.google.com/apppasswords
  2. Select app → Generate → Copy the 16-char password

Outlook/Hotmail:

  1. Go to https://account.live.com/proofs/AppPassword
  2. Create new app password → Copy

Yahoo:

  1. Go to https://login.yahoo.com/account/security
  2. Generate app password for "Mail"

Zoho:

  1. Go to https://accounts.zoho.com/home#security/app-passwords
  2. 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.js

3. 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.js

Usage 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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选