email-mcp

v1.2.3
io.github.marlinjai/email-mcp Checked 9 hours ago Published 9 months ago

Unified 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)

ParameterTypeDescription
email *stringEmail address
name *stringDisplay name for the account
provider *stringProvider type: "imap" or "icloud" (Gmail/Outlook require OAuth setup wizard)
hoststringIMAP server hostname
passwordstringPassword or app-specific password
portnumberIMAP server port (default: 993)
smtpHoststringSMTP server hostname
smtpPortnumberSMTP server port
tlsbooleanUse TLS (default: true)

email_remove_account

Remove an email account

ParameterTypeDescription
accountId *stringID of the account to remove

email_test_account

Test an email account connection

ParameterTypeDescription
accountId *stringID of the account to test

email_list_folders

List all email folders for an account

ParameterTypeDescription
accountId *string

email_get

Get a single email by ID

ParameterTypeDescription
accountId *string
emailId *string

email_get_thread

Get an email thread by thread ID

ParameterTypeDescription
accountId *string
threadId *string

email_get_attachment

Get an email attachment by ID, returns base64 encoded data

ParameterTypeDescription
accountId *string
attachmentId *string
emailId *string

email_send

Send a new email

ParameterTypeDescription
accountId *string
body *object
subject *string
to *array
bccarray
ccarray

email_reply

Reply to an existing email

ParameterTypeDescription
accountId *string
body *object
emailId *string
replyAllboolean

email_forward

Forward an email to new recipients

ParameterTypeDescription
accountId *string
emailId *string
to *array
bodyobject

email_draft_create

Create a new email draft

ParameterTypeDescription
accountId *string
body *object
subject *string
to *array

email_draft_list

List email drafts

ParameterTypeDescription
accountId *string
limitnumber
offsetnumber

email_move

Move an email to a different folder

ParameterTypeDescription
accountId *string
emailId *string
targetFolder *string
sourceFolderstringSource folder (required for IMAP/iCloud when email is not in INBOX)

email_delete

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

ParameterTypeDescription
accountId *string
emailId *string
permanentboolean
sourceFolderstringSource folder (required for IMAP/iCloud when email is not in INBOX)

email_mark

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

ParameterTypeDescription
accountId *string
emailId *string
flaggedboolean
readboolean
sourceFolderstringSource folder (required for IMAP/iCloud when email is not in INBOX)
starredboolean

email_batch_delete

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

ParameterTypeDescription
accountId *string
emailIds *arrayArray of email IDs to delete
permanentbooleanPermanently delete instead of moving to trash
sourceFolderstringSource 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.

ParameterTypeDescription
accountId *string
emailIds *arrayArray of email IDs to move
targetFolder *stringDestination folder name or ID
sourceFolderstringSource 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.

ParameterTypeDescription
accountId *string
emailIds *arrayArray of email IDs to mark
flaggedboolean
readboolean
sourceFolderstringSource folder (required for IMAP/iCloud when emails are not in INBOX)
starredboolean

email_label

Add or remove labels on an email (Gmail only)

ParameterTypeDescription
accountId *string
emailId *string
addLabelsarray
removeLabelsarray

email_folder_create

Create a new email folder

ParameterTypeDescription
accountId *string
name *string
parentPathstring

email_get_labels

List all labels for an email account (Gmail only)

ParameterTypeDescription
accountId *string

email_get_categories

List all categories for an email account (Outlook only)

ParameterTypeDescription
accountId *string