Mailbox MCP
Multi-account email MCP server for Gmail, IMAP, and JMAP: search, send, drafts, labels.
Connector by jgalea · GitHub account verified by the MCP Registry
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/jgalea-mailbox-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.
About
Reviews
Write a reviewNo 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
- 14 read · 21 write · 9 delete · 5 not yet classified
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 49
Read from the source code; the running server may list different tools.
Read 14 · Look things up without changing anything.
count_unread_by_labelget_signatureget_vacationinbox_summarylist_accountslist_draftslist_filterslist_labelslist_recent_bulk_opslist_send_aslist_templatesread_email
Show 2 more tools
read_threadsearch_emails
Write 21 · Create, change, send or run things.
authenticatebulk_unsubscribecreate_draftcreate_filtercreate_labeldownload_attachmentemails_sinceexport_emailforward_emailmark_readreply_emailsave_template
Show 9 more tools
send_draftsend_emailsend_templateset_signatureset_vacationstar_emailtrash_emailsunsubscribeupdate_draft
Delete 9 · Delete, drop, revoke or wipe things.
archive_emailbatch_modify_emailsbulk_modifydelete_draftdelete_filterdelete_labeldelete_templatemodify_emailremove_account
Not yet classified 5 · We could not tell from the name and description.
bulk_trashexport_threadmulti_account_searchreauthundo_bulk_op
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
MAILBOX_MCP_PASSPHRASE
Network hosts it talks to 3
api.typesafe.ai· found in codegithub.com· found in codegoogleapis.com· found in code
Files it touches
/dev/tty- Your home directory (~)
- Any path the agent passes to its tools
Tools (49)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
archive_emailArchive an email (remove from inbox). Gmail removes the INBOX label; IMAP moves to the Archive folder; JMAP moves out of the inbox mailbox.
authenticateAdd a new email account. Refuses an alias that already exists (edit accounts.json or use reauth). For Gmail: opens a browser for OAuth. For IMAP/JMAP: stores encrypted credentials. Sensitive fields (username, password) can also be set via environment variables.
batch_modify_emailsAdd or remove labels/flags on multiple messages
bulk_modifyAdd or remove labels on all messages matching a query. Same fast search-then-batch pattern as bulk_trash, but for arbitrary label ops. Use this for archive (remove_labels=['INBOX']), bulk star/unstar, mark-read across a label, moving messages between labels, etc. Use dry_run to see the count first.
bulk_trashTrash all messages matching a query. Paginates the search and batch-trashes the IDs in one call. Use dry_run to see the count before committing. Useful for label cleanups (e.g. trash everything in 'Newsletters' or older than 90 days).
bulk_unsubscribeFind unsubscribe links for multiple mailing list messages
count_unread_by_labelCount unread messages per label/folder. Useful for deciding where to look first.
create_draftCreate a draft email
create_filterCreate a Gmail filter
create_labelCreate a new label (Gmail) or folder (IMAP)
delete_draftPermanently delete a Gmail draft. This cannot be undone.
delete_filterDelete a Gmail filter
delete_labelDelete a label (Gmail) or folder (IMAP)
delete_templateDelete a saved template
download_attachmentDownload an email attachment to a safe directory
Show 34 more tools
emails_sinceList messages received after a given timestamp. Use for polling new mail since a last-check marker.
export_emailExport an email as a raw RFC 822 .eml file to a safe directory. Useful for archival, legal discovery, or migration.
export_threadExport all messages in a thread as individual .eml files to a safe directory. Gmail/JMAP only.
forward_emailForward an email message to new recipients. Forwarding outside the account's own domain needs confirm_external_forward; recipients the account has never written to need confirm_new_recipient. On draftsOnly accounts a forward draft is created instead.
get_signatureGet the email signature for a Gmail account
get_vacationGet vacation auto-reply settings
inbox_summaryGet a summary of recent inbox activity including total and unread counts. When a TypeSafe API key is configured, each recent message is also triaged (needs reply, FYI, newsletter, receipt, notification, suspicious) by the Jev decision model.
list_accountsList all configured email accounts with their provider type and email address
list_draftsList drafts for an account
list_filtersList Gmail filters
list_labelsList all labels (Gmail) or folders (IMAP) for an account
list_recent_bulk_opsList recent bulk_modify and bulk_trash operations recorded in the transaction log. Use to find an op id for undo_bulk_op.
list_send_asList send-as aliases configured on a Gmail account
list_templatesList saved email templates
mark_readMark an email as read or unread
modify_emailAdd or remove labels/flags on a message
multi_account_searchRun the same search across all configured accounts in parallel. Returns results grouped by account alias.
read_emailRead a single email message with full content
read_threadRead an entire email conversation thread (Gmail and JMAP only)
reauthRe-run OAuth for an existing Gmail account without removing it. Opens a browser for Google sign-in. Use when the refresh token expires (invalid_grant) or scopes change.
remove_accountRemove a configured email account and its stored credentials. Refuses for an account with any safety setting; those are removed by editing accounts.json.
reply_emailReply to an email message. Extra cc/bcc addresses the account has never written to need confirm_new_recipient. On draftsOnly accounts a reply draft is created instead.
save_templateSave an email template (stored as a Gmail draft with TEMPLATE label)
search_emailsSearch emails in an account. Gmail supports full Gmail search syntax. IMAP searches subject and body. Optional folder parameter scopes the search to a specific label/folder.
send_draftSend an existing draft as-is. Runs the same recipient guards as send_email. For Gmail/JMAP the draft is finalised and submitted; for IMAP the message is sent via SMTP and removed from the Drafts folder.
send_emailSend a new email. Refuses new recipients without confirm_new_recipient, and creates a draft instead on accounts configured draftsOnly.
send_templateSend an email using a saved template
set_signatureUpdate the email signature for a Gmail account
set_vacationConfigure vacation auto-reply
star_emailStar or unstar an email
trash_emailsMove messages to trash
undo_bulk_opReverse a previously recorded bulk_modify or bulk_trash by replaying the inverse label change against the exact ids that were touched. Find the op id from list_recent_bulk_ops. Idempotent on already-reversed ops (refuses to re-reverse).
unsubscribeUnsubscribe from a mailing list by finding the List-Unsubscribe header
update_draftReplace the contents of an existing Gmail draft. The draft's thread association is preserved automatically.
Compare and alternatives
Featured in
Signals
- Stars
- 10
- Forks
- 12
- Open issues
- 1
- Last commit
- Oct 11, 2026 (17 days ago)
- Last release
- Oct 10, 2026 (18 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.jgalea/mailbox-mcp- Version
- 0.13.1
- Auth
- API key
- Packages
- npm mailbox-mcp
- License
- MIT
- Repository
- github.com/jgalea/mailbox-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from jgalea
Cite this page
Mailbox MCP. Agent Mart. https://agentmart.dev/connectors/jgalea-mailbox-mcp (last updated 2026-10-24)