Basic information
About Email Mcp Server
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
Email Mcp is a MCP server in the Communication category listed in the AddMCP.net directory, published by marlinjai. It exposes 25 tools, including email_list_accounts, email_add_account, email_remove_account, email_test_account and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 26 GitHub stars. Source code is hosted on github.com. Related topics: ai, claude, email, gmail, icloud.
Setup
{
"mcpServers": {
"email": {
"command": "npx",
"args": [
"@marlinjai/email-mcp"
]
}
}
}
{
"mcpServers": {
"email": {
"command": "npx",
"args": [
"@marlinjai/email-mcp"
]
}
}
}
{
"servers": {
"email": {
"command": "npx",
"args": [
"@marlinjai/email-mcp"
]
}
}
}
Email Mcp — by marlinjai config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"email": {
"command": "npx",
"args": [
"@marlinjai/email-mcp"
]
}
}
}
Email Mcp — by marlinjai tools
-
email_list_accounts
— List all configured email accounts and their connection status
(no parameters) -
email_add_account
— Add a new IMAP or iCloud email account (Gmail and Outlook require the setup wizard for OAuth)
provider:string*, name:string*, email:string*, password:string, host:string, port:number, tls:boolean, smtpHost:string, smtpPort:number -
email_remove_account
— Remove an email account
accountId:string* -
email_test_account
— Test an email account connection
accountId:string* -
email_list_folders
— List all email folders for an account
accountId:string* -
email_search
— Search emails with filters. By default returns compact results without full body content to save context. Set returnBody=true to include full email bodies.
accountId:string*, folder:string, from:string, to:string, subject:string, body:string, since:string, before:string, unreadOnly:boolean, starredOnly:boolean, hasAttachment:boolean, limit:number, … -
email_get
— Get a single email by ID
accountId:string*, emailId:string* -
email_get_thread
— Get an email thread by thread ID
accountId:string*, threadId:string* -
email_get_attachment
— Get an email attachment by ID, returns base64 encoded data
accountId:string*, emailId:string*, attachmentId:string* -
email_send
— Send a new email
accountId:string*, to:array*, cc:array, bcc:array, subject:string*, body:object* -
email_reply
— Reply to an existing email
accountId:string*, emailId:string*, body:object*, replyAll:boolean -
email_forward
— Forward an email to new recipients
accountId:string*, emailId:string*, to:array*, body:object -
email_draft_create
— Create a new email draft
accountId:string*, to:array*, subject:string*, body:object* -
email_draft_list
— List email drafts
accountId:string*, limit:number, offset:number -
email_move
— Move an email to a different folder
accountId:string*, emailId:string*, targetFolder:string*, sourceFolder:string -
email_delete
— Delete an email (moves to trash by default, or permanently deletes)
accountId:string*, emailId:string*, permanent:boolean, sourceFolder:string -
email_mark
— Mark an email as read/unread, starred, or flagged
accountId:string*, emailId:string*, read:boolean, starred:boolean, flagged:boolean, sourceFolder:string -
email_batch_delete
— Delete multiple emails at once. Much faster than individual deletes.
accountId:string*, emailIds:array*, permanent:boolean, sourceFolder:string -
email_batch_move
— Move multiple emails to a folder at once. Much faster than individual moves.
accountId:string*, emailIds:array*, targetFolder:string*, sourceFolder:string -
email_batch_mark
— Mark multiple emails at once (read/unread, starred, flagged). Much faster than individual marks.
accountId:string*, emailIds:array*, read:boolean, starred:boolean, flagged:boolean, sourceFolder:string -
email_transfer
— 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.
sourceAccountId:string*, targetAccountId:string*, emailIds:array*, targetFolder:string, sourceFolder:string, deleteAfter:boolean, markRead:boolean -
email_label
— Add or remove labels on an email (Gmail only)
accountId:string*, emailId:string*, addLabels:array, removeLabels:array -
email_folder_create
— Create a new email folder
accountId:string*, name:string*, parentPath:string -
email_get_labels
— List all labels for an email account (Gmail only)
accountId:string* -
email_get_categories
— List all categories for an email account (Outlook only)
accountId:string*
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?
- Run the setup wizard with
npx @marlinjai/email-mcp setupto configure accounts. - Add the server block to your MCP configuration (e.g.,
"command": "npx", "args": ["@marlinjai/email-mcp"]). - 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
Frequently asked questions
1 Which email providers does Email Mcp support?
Gmail (REST API), Outlook (Microsoft Graph), iCloud (IMAP), and any generic IMAP/SMTP server.
2 Do I need to configure OAuth myself?
No — built-in OAuth2 with PKCE handles Gmail and Outlook authentication automatically, requiring zero manual configuration.
3 How are credentials stored?
Credentials are encrypted at rest using AES-256-GCM encryption.
4 What is the limit for batch operations?
Batch delete, move, or mark operations can handle up to 1,000 emails in a single call.
5 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
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In