IMAP/SMTP MCP Server for Claude Desktop and Claude Code. Read, search, and send emails via natural language.
- Read and list emails (IMAP)
- Search emails by subject, sender, date
- Send emails (SMTP)
- Manage folders and flags
Copy .env.example to .env and fill in your credentials:
IMAP_HOST/SMTP_HOST— your mail serverEMAIL_USER— your email addressEMAIL_PASSWORD— your password or app password
Add to ~/.mcporter/mcporter.json:
"email": {
"command": "node /path/to/email-mcp/dist/index.js"
}