email-mcp
v1.2.3Unified email MCP server for Gmail, Outlook, iCloud, and IMAP with batch operations
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
email_list_accounts
List all configured email accounts and their connection status
email_add_account
Add a new IMAP or iCloud email account (Gmail and Outlook require the setup wizard for OAuth)
| Parameter | Type | Description |
|---|---|---|
email * | string | Email address |
name * | string | Display name for the account |
provider * | string | Provider type: "imap" or "icloud" (Gmail/Outlook require OAuth setup wizard) |
host | string | IMAP server hostname |
password | string | Password or app-specific password |
port | number | IMAP server port (default: 993) |
smtpHost | string | SMTP server hostname |
smtpPort | number | SMTP server port |
tls | boolean | Use TLS (default: true) |
email_remove_account
Remove an email account
| Parameter | Type | Description |
|---|---|---|
accountId * | string | ID of the account to remove |
email_test_account
Test an email account connection
| Parameter | Type | Description |
|---|---|---|
accountId * | string | ID of the account to test |
email_list_folders
List all email folders for an account
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
before | string | |
body | string | |
folder | string | |
from | string | |
hasAttachment | boolean | |
limit | number | |
offset | number | |
returnBody | boolean | Include full email body in results (default: false). Set to true only when you need the full content. |
since | string | |
starredOnly | boolean | |
subject | string | |
to | string | |
unreadOnly | boolean |
email_get
Get a single email by ID
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailId * | string |
email_get_thread
Get an email thread by thread ID
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
threadId * | string |
email_get_attachment
Get an email attachment by ID, returns base64 encoded data
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
attachmentId * | string | |
emailId * | string |
email_send
Send a new email
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
body * | object | |
subject * | string | |
to * | array | |
bcc | array | |
cc | array |
email_reply
Reply to an existing email
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
body * | object | |
emailId * | string | |
replyAll | boolean |
email_forward
Forward an email to new recipients
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailId * | string | |
to * | array | |
body | object |
email_draft_create
Create a new email draft
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
body * | object | |
subject * | string | |
to * | array |
email_draft_list
List email drafts
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
limit | number | |
offset | number |
email_move
Move an email to a different folder
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailId * | string | |
targetFolder * | string | |
sourceFolder | string | Source folder (required for IMAP/iCloud when email is not in INBOX) |
email_delete
Delete an email (moves to trash by default, or permanently deletes)
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailId * | string | |
permanent | boolean | |
sourceFolder | string | Source folder (required for IMAP/iCloud when email is not in INBOX) |
email_mark
Mark an email as read/unread, starred, or flagged
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailId * | string | |
flagged | boolean | |
read | boolean | |
sourceFolder | string | Source folder (required for IMAP/iCloud when email is not in INBOX) |
starred | boolean |
email_batch_delete
Delete multiple emails at once. Much faster than individual deletes.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailIds * | array | Array of email IDs to delete |
permanent | boolean | Permanently delete instead of moving to trash |
sourceFolder | string | Source folder (required for IMAP/iCloud when emails are not in INBOX) |
email_batch_move
Move multiple emails to a folder at once. Much faster than individual moves.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailIds * | array | Array of email IDs to move |
targetFolder * | string | Destination folder name or ID |
sourceFolder | string | Source folder (required for IMAP/iCloud when emails are not in INBOX) |
email_batch_mark
Mark multiple emails at once (read/unread, starred, flagged). Much faster than individual marks.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailIds * | array | Array of email IDs to mark |
flagged | boolean | |
read | boolean | |
sourceFolder | string | Source folder (required for IMAP/iCloud when emails are not in INBOX) |
starred | boolean |
email_label
Add or remove labels on an email (Gmail only)
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
emailId * | string | |
addLabels | array | |
removeLabels | array |
email_folder_create
Create a new email folder
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
name * | string | |
parentPath | string |
email_get_labels
List all labels for an email account (Gmail only)
| Parameter | Type | Description |
|---|---|---|
accountId * | string |
email_get_categories
List all categories for an email account (Outlook only)
| Parameter | Type | Description |
|---|---|---|
accountId * | string |