E

Email MCP Server

Send and read emails via IMAP and SMTP from AI agents.

open-source 49/100 Communication email imap smtp gmail inbox messaging

A Model Context Protocol server for email. Enables AI agents to send emails via SMTP, read and search inboxes via IMAP, and manage email workflows.

Supports composing and sending messages, searching inbox contents, reading email threads, and managing folders across any IMAP/SMTP-compatible email provider.

Install

npx -y mcp-email

MCP Client Config

{
  "mcpServers": {
    "email": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-email"
      ],
      "env": {
        "IMAP_HOST": "imap.gmail.com",
        "SMTP_HOST": "smtp.gmail.com",
        "EMAIL_USER": "<your-email>",
        "EMAIL_PASS": "<your-app-password>"
      }
    }
  }
}

Required Environment Variables

  • IMAP_HOST
  • SMTP_HOST
  • EMAIL_USER
  • EMAIL_PASS

Capabilities

Tools

send_emailsearch_inboxread_emaillist_folders

Compatible With

Claude Desktop Claude Code Cursor

Metrics

180

GitHub Stars

3,200

Installs

240

Weekly

6

Open Issues