Overview
Features
- Multi-provider: Gmail (REST API), Outlook (Microsoft Graph), iCloud (IMAP), generic IMAP/SMTP
- 24 MCP tools across 5 categories: account management, reading, sending, organizing, batch operations
- Built-in OAuth2 (PKCE) for Gmail and Outlook — zero config needed
- Batch operations: Delete, move, or mark up to 1000 emails in a single call
- Lightweight search: Compact results by default (~20KB vs ~1.4MB)
- Encrypted storage: AES-256-GCM credential encryption at rest
Quick Start
-
Run the setup wizard: npx @marlinjai/email-mcp setup
-
Add to your MCP config:
{
"mcpServers": {
"email": {
"command": "npx",
"args": ["@marlinjai/email-mcp"]
}
}
}
3. Start using email tools — search inbox, send emails, organize messages, batch delete spam.
Links
- npm: https://www.npmjs.com/package/@marlinjai/email-mcp
- GitHub: https://github.com/marlinjai/email-mcp
Server Config
{
"mcpServers": {
"email": {
"command": "npx",
"args": [
"@marlinjai/email-mcp"
]
}
}
}