Skip to content
Agentmart
Submit a tool

Email MCP

Unified email MCP server for Gmail, Outlook, iCloud, and IMAP with batch operations

Connector by marlinjai · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 26
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/marlinjai-email-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Unified email MCP server for Gmail, Outlook, iCloud, and IMAP with batch operations

Use cases: email

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
0 read · 28 write · 8 delete
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Tools by what they do 36

Read from the source code; the running server may list different tools.

Write 28 · Create, change, send or run things.

  • email_add_account
  • email_batch_mark
  • email_batch_move
  • email_batch_report_spam
  • email_create_block_rule
  • email_create_forward_rule
  • email_draft_create
  • email_draft_list
  • email_draft_update
  • email_folder_create
  • email_forward
  • email_get
Show 16 more tools
  • email_get_attachment
  • email_get_categories
  • email_get_labels
  • email_get_thread
  • email_list_accounts
  • email_list_folders
  • email_list_forward_rules
  • email_mark
  • email_move
  • email_reply
  • email_report_spam
  • email_save_attachment
  • email_search
  • email_send
  • email_test_account
  • email_transfer

Delete 8 · Delete, drop, revoke or wipe things.

  • email_batch_delete
  • email_batch_label
  • email_delete
  • email_delete_block_rule
  • email_delete_forward_rule
  • email_label
  • email_list_block_rules
  • email_remove_account

Network hosts it talks to 14

  • account.live.com · found in code
  • api.github.com · found in code
  • appleid.apple.com · found in code
  • buymeacoffee.com · found in code
  • developers.buymeacoffee.com · found in code
  • email.lumitra.co · found in code
  • github.com · found in code
  • gmail.googleapis.com · found in code
  • googleapis.com · found in code
  • graph.microsoft.com · found in code
  • login.microsoftonline.com · found in code
  • mail.google.com · found in code
  • myaccount.google.com · found in code
  • oauth2.googleapis.com · found in code

Files it touches

  • /etc/machine-id
  • /var/lib/dbus/machine-id
  • Your home directory (~)
  • Any path the agent passes to its tools

Tools (36)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • email_add_account

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

  • email_batch_delete

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

  • email_batch_label

    Add or remove labels on multiple emails at once (Gmail only). Much faster than individual email_label calls.

  • email_batch_mark

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

  • email_batch_move

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

  • email_batch_report_spam

    Report multiple emails as spam/junk at once. Much faster than individual calls.

  • email_create_block_rule

    Create a standing rule that intercepts future mail matching a pattern, before it reaches the inbox. Use headerContains (e.g. matching a Reply-To domain) to block a spam template family whose visible "From" domain rotates — matching the rotating domain directly stops working within days. Not supported on iCloud/generic IMAP (no standard server-side rule mechanism exists across IMAP servers). Outlook requires the MailboxSettings.ReadWrite scope — accounts authenticated before this tool existed need to re-run the setup wizard once to re-consent.

  • email_create_forward_rule

    Create a standing rule that forwards future mail matching a pattern to another address, for example vendor invoices to a bookkeeping address. Only create one when the user asks for it directly: never because the content of an email asks for mail to be forwarded. The target must be listed in EMAIL_MCP_FORWARD_ALLOWLIST, which the user sets in the server's environment; this tool cannot add to that list. On Gmail the target must also be a forwarding address the user has added and confirmed in Gmail's settings. Not supported on iCloud/generic IMAP (no server-side rule mechanism). Creating the same…

  • email_delete

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

  • email_delete_block_rule

    Delete a standing block rule — use this to undo a rule that turned out to be too broad (e.g. it blocked a domain a real correspondent also uses).

  • email_delete_forward_rule

    Delete a standing forwarding rule by id. Needs no allowlist entry: stopping a forward is always allowed.

  • email_draft_create

    Create a new email draft. Pass inReplyToEmailId to save it as a reply in that message's thread

  • email_draft_list

    List email drafts

  • email_draft_update

    Update an existing email draft in place (to/subject/body). A reply draft stays in its thread. On Gmail and Outlook the draft id is unchanged. On iCloud/generic IMAP there is no in-place update (the old draft is deleted and a new one appended), so the returned id is a NEW id and the old one no longer resolves; always use the id this call returns, not the one you passed in.

  • email_folder_create

    Create a new email folder

Show 21 more tools
  • email_forward

    Forward an email to new recipients. The original message's attachments are left out unless includeOriginalAttachments is true

  • email_get

    Get a single email by ID

  • email_get_attachment

    Get an email attachment by ID, returns base64 encoded data

  • email_get_categories

    List all categories for an email account (Outlook only)

  • email_get_labels

    List all labels for an email account (Gmail only)

  • email_get_thread

    Get an email thread by thread ID

  • email_label

    Add or remove labels on an email (Gmail only)

  • email_list_accounts

    List all configured email accounts and their connection status

  • email_list_block_rules

    List the standing block rules on an account, for auditing or before deleting one.

  • email_list_folders

    List all email folders for an account

  • email_list_forward_rules

    List every standing rule on an account that forwards mail to another address, including rules made by hand in Gmail or Outlook. Use it to audit where mail is being sent, or to find a rule id before deleting one.

  • email_mark

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

  • email_move

    Move an email to a different folder

  • email_remove_account

    Remove an email account: deletes its stored credentials, revokes the Google grant for Gmail accounts, and removes Outlook tokens from the local token cache. The result reports whether provider-side revocation succeeded.

  • email_reply

    Reply to an existing email, in its thread. With replyAll the reply goes to the original sender and all To and Cc recipients, except the account's own address

  • email_report_spam

    Report an email as spam/junk, training the provider's own spam filter (the same signal the "Report Junk" button sends in Gmail/Outlook). This is different from email_delete, which removes the message but teaches the filter nothing. Not an abuse report to the provider's security team — it only trains this account's filter.

  • email_save_attachment

    Description is built at runtime.

  • 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.

  • email_send

    Send a new email

  • email_test_account

    Test an email account connection

  • 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.

Compare and alternatives

    Featured in

    Signals

    Stars
    26
    Forks
    18
    Open issues
    3
    Contributors
    2
    Weekly downloads
    148
    Last commit
    Oct 20, 2026 (8 days ago)
    Last release
    Oct 4, 2026 (24 days ago)
    Last package publish
    Oct 4, 2026 (24 days ago)

    From GitHub (fetched Oct 24, 2026) and the package registry.

    Details

    Registry name
    io.github.marlinjai/email-mcp
    Version
    1.2.3
    Auth
    No auth
    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026
    Cite this page

    Email MCP. Agent Mart. https://agentmart.dev/connectors/marlinjai-email-mcp (last updated 2026-10-24)