$ timeahead.in
/ servers/npm/@diskd-ai/email-mcp
npm

@diskd-ai/email-mcp

Email MCP server with IMAP + SMTP support

58 stars2k/wkupdated 24d agogithub ↗
85good
▣ Overview
standard-readme compliantlicensenpm versionnpm downloadsCI

What it does

This server exposes 47 email tools over IMAP and SMTP, enabling AI assistants to read, search, send, compose, and manage emails across multiple accounts. It includes email scheduling, real-time IMAP IDLE watchers for new messages, calendar extraction from email attachments, email analytics, and AI-powered triage rules. Multi-account operation, label management (provider-aware for Gmail, Outlook, Yahoo, and others), drafts, templates, and webhook alerts are all included. OAuth2 support for Gmail and Microsoft 365 is available but experimental.

Who it's for

Backend engineers integrating email capabilities into AI-driven applications, and teams building assistants that manage customer support, inbox analysis, or delegated email composition. Useful wherever an AI needs full email client behavior — not just send/reply, but scheduling, bulk operations, and multi-account workflows.

Common use cases

  • Generate and send emails on behalf of a user from Claude or other assistants, with drafts and scheduled send support.
  • Analyze incoming emails, extract structured data (dates, attachments, calendar events), and generate summaries or suggested responses.
  • Build AI email triage workflows: categorize, label, or archive messages based on custom rules and model-driven analysis.
  • Extract calendar invites from email and surface upcoming meetings to the assistant.
  • Manage multiple email accounts in a single workflow, with provider auto-detection for Gmail, Outlook, Yahoo, iCloud, and others.

Setup pitfalls

  • Requires Node.js 22 or later; Docker images are available but config must be created on the host first and mounted in.
  • CI tests are currently failing. Review recent commits and test results before deploying to production.
  • Reads and writes to the filesystem (~/.config/email-mcp/config.toml for config and potentially local directories for attachment caching). Makes network calls to IMAP/SMTP servers and OAuth2 endpoints — audit firewall rules and credential permissions accordingly.
  • OAuth2 support is experimental; password-based IMAP/SMTP is the stable authentication path. Credentials are not logged, but the server requires valid account credentials to function.
  • Attachment downloads are capped at 5 MB with base64 encoding; larger attachments will be skipped.
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
56
11.2
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
85.2
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high· 49 tools · auth: API key
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
Tool nameDescriptionDestructive?
download_attachment✓ no
list_templates✓ no
apply_template✓ no
list_emails✓ no
get_email✓ no
+44 more tools
get_emails✓ no
get_email_status✓ no
search_emails✓ no
list_labels✓ no
add_label✓ no
remove_label⚠ yes
create_label✓ no
delete_label⚠ yes
bulk_action✓ no
list_accounts✓ no
extract_contacts✓ no
get_email_stats✓ no
schedule_email✓ no
list_scheduled✓ no
cancel_scheduled✓ no
move_email✓ no
delete_email⚠ yes
mark_email✓ no
check_health✓ no
get_thread✓ no
list_mailboxes✓ no
find_email_folder✓ no
extract_calendar✓ no
add_to_calendar✓ no
check_calendar_permissions⚠ yes
list_calendars✓ no
list_events✓ no
list_reminders✓ no
create_reminder✓ no
analyze_email_for_scheduling✓ no
save_draft✓ no
send_draft✓ no
create_mailbox✓ no
rename_mailbox✓ no
delete_mailbox⚠ yes
send_email✓ no
reply_email✓ no
forward_email✓ no
get_watcher_status✓ no
list_presets✓ no
get_hooks_config✓ no
check_notification_setup✓ no
test_notification✓ no
configure_alerts✓ no
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "diskd-aiemail": {
      "command": "npx",
      "args": [
        "-y",
        "@diskd-ai/email-mcp"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
42/ 100 · is this project alive?
contributors (1y)2
top contributor share78%
releases (1y)2
last release113d ago
ci⚠ failing
⛁ Raw data
weekly downloads2k
github stars58
forks30
open issues24
license✓ present
readme length27600 chars
last publish4d ago
last commit24d ago
last updated1d ago
install verified✓ pass · 25d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points