cyberneticlibrary

Automate multi-account email at scale

email-mcpmcp_serversetup L20
codefuturist/email-mcp
What it does

Read, send, manage, schedule, and analyze emails via IMAP/SMTP

Best for

Multi-account email automation with AI triage and real-time inbox watching across GMail, Outlook, and indie hosts.

Inputs
  • · Email account credentials (IMAP/SMTP host, user, password)
  • · Search queries with labels
  • · Draft templates, reply/forward instructions
  • · Scheduled send datetime
  • · Multi-account management
Outputs
  • · Email lists, threads, full message bodies
  • · Draft creation and management
  • · Scheduled send confirmations
  • · Email analytics (open rates, top senders)
  • · Label/folder operations
Requires
  • · IMAP and SMTP servers (Gmail, Outlook, ProtonMail, Fastmail, iCloud, Yahoo, Zoho, GMX)
  • · Optional: OAuth2 (Gmail and M365 experimental)
  • · 47 tools and 7 prompts exposed
Preconditions
  • · Email account supporting TLS/STARTTLS
  • · Config file at ~/.config/email-mcp/config.toml (XDG-compliant)
  • · Node.js >= 22 or Docker image available
  • · Multi-account credential storage in TOML
Failure modes
  • · OAuth2 support still marked experimental
  • · Attachment downloads capped at 5 MB with base64 encoding
  • · Real-time IMAP IDLE can deadlock on network drop
  • · Rate limiter per account prevents bulk operations
Trust signals
  • · 47 tools and 7 prompts
  • · Docker image at ghcr.io/codefuturist/email-mcp
  • · Guided setup wizard with auto-detect
  • · Real-time IMAP IDLE watcher
  • · Provider-aware label management
  • · AI-powered triage with customizable rules