MCP.so
Sign In

Email Mcp

@marlinjai

About Email Mcp

Unified MCP server for email access across Gmail, Outlook, iCloud, and generic IMAP/SMTP. 24 tools for searching, sending, organizing, and batch-managing emails with built-in OAuth2 and encrypted credential storage

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "email": {
      "command": "npx",
      "args": [
        "@marlinjai/email-mcp"
      ]
    }
  }
}

Tools

25

List all configured email accounts and their connection status

Add a new IMAP or iCloud email account (Gmail and Outlook require the setup wizard for OAuth)

Remove an email account

Test an email account connection

List all email folders for an account

Search emails with filters. By default returns compact results without full body content to save context. Set returnBody=true to include full email bodies.

Get a single email by ID

Get an email thread by thread ID

Get an email attachment by ID, returns base64 encoded data

Send a new email

Reply to an existing email

Forward an email to new recipients

Create a new email draft

List email drafts

Move an email to a different folder

Delete an email (moves to trash by default, or permanently deletes)

Mark an email as read/unread, starred, or flagged

Delete multiple emails at once. Much faster than individual deletes.

Move multiple emails to a folder at once. Much faster than individual moves.

Mark multiple emails at once (read/unread, starred, flagged). Much faster than individual marks.

Move or copy emails BETWEEN accounts, preserving the original message intact (sender, date, threading) by transferring the raw MIME. Fetches each message from the source account and imports it into the target account. With deleteAfter=true the source copy is sent to trash only after a confirmed import, making this a safe cross-account move.

Add or remove labels on an email (Gmail only)

Create a new email folder

List all labels for an email account (Gmail only)

List all categories for an email account (Outlook only)

Overview

What is Email Mcp?

Email Mcp is a multi-provider email client exposed through MCP (Model Context Protocol) tools. It integrates with Gmail, Outlook, iCloud, and generic IMAP/SMTP servers, offering 24 tools across account management, reading, sending, organizing, and batch operations. It is built for developers who want to add email automation and management to their MCP‑enabled applications.

How to use Email Mcp?

  1. Run the setup wizard with npx @marlinjai/email-mcp setup to configure accounts.
  2. Add the server block to your MCP configuration (e.g., "command": "npx", "args": ["@marlinjai/email-mcp"]).
  3. Use the 24 MCP tools to search inbox, send emails, organize messages, or batch delete spam — no further config required.

Key features of Email Mcp

  • Multi-provider support: Gmail, Outlook, iCloud, generic IMAP/SMTP
  • 24 MCP tools across 5 categories
  • Built-in OAuth2 (PKCE) for Gmail and Outlook — zero config
  • Batch operations: delete, move, or mark up to 1,000 emails per call
  • Lightweight search: compact results (~20 KB vs ~1.4 MB)
  • AES-256-GCM encrypted credential storage at rest

Use cases of Email Mcp

  • Automate email triage by searching and organizing inbox messages
  • Batch delete or move spam, newsletters, or large email volumes
  • Send emails programmatically through MCP-enabled assistants
  • Integrate multiple email accounts (personal, work, iCloud) under one MCP server
  • Perform rapid, lightweight searches on large mailboxes

FAQ from Email Mcp

Which email providers does Email Mcp support?

Gmail (REST API), Outlook (Microsoft Graph), iCloud (IMAP), and any generic IMAP/SMTP server.

Do I need to configure OAuth myself?

No — built-in OAuth2 with PKCE handles Gmail and Outlook authentication automatically, requiring zero manual configuration.

How are credentials stored?

Credentials are encrypted at rest using AES-256-GCM encryption.

What is the limit for batch operations?

Batch delete, move, or mark operations can handle up to 1,000 emails in a single call.

How do I install and set up Email Mcp?

Run npx @marlinjai/email-mcp setup to launch the setup wizard, then add the server to your MCP configuration file.

Frequently asked questions

Which email providers does Email Mcp support?

Gmail (REST API), Outlook (Microsoft Graph), iCloud (IMAP), and any generic IMAP/SMTP server.

Do I need to configure OAuth myself?

No — built-in OAuth2 with PKCE handles Gmail and Outlook authentication automatically, requiring zero manual configuration.

How are credentials stored?

Credentials are encrypted at rest using AES-256-GCM encryption.

What is the limit for batch operations?

Batch delete, move, or mark operations can handle up to 1,000 emails in a single call.

How do I install and set up Email Mcp?

Run `npx @marlinjai/email-mcp setup` to launch the setup wizard, then add the server to your MCP configuration file.

Comments

More Communication MCP servers