io.github.jgalea/mailbox-mcp
NPM · MAILBOX-MCP
Multi-account email MCP server for Gmail, IMAP, and JMAP: search, send, drafts, labels.
Available components
Last scanned (3 hours ago)
Scores higher than 91% of npm servers
Category Communication
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security81
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known high-severity CVE affects @modelcontextprotocol/sdk 1.29.0, a direct dependency. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- 45 of 141 dependencies flagged as unhealthy (1 deprecated). View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to jgalea/mailbox-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 25 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability79
- AI-judged instruction clarity (excellent).Pass
- Tool/resource definitions use about 4795 tokens (~97/item across 49 items; 49 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management83
- Stability observed for 25 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety97
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- 8 of 9 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "list_send_as" implies "send" and declares readOnlyHint instead, contradicting what its own name says it does. See how to fix → Partial
- An AI judge read all 50 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 4 Nov 26 0
- CVE-2026-121426 affects this package: high ▼ security
- CVE-2026-121424 affects this package: high ▼ security
- CVE-2026-121425 affects this package: high ▼ security
- GHSA-8c8m-p3m8-cjg8 no longer affects this package ▲ security
- GHSA-85x2-q946-cp5h no longer affects this package ▲ security
- GHSA-m943-m63m-w62w no longer affects this package ▲ security
- 3 Nov 26 −3
- Stability: pass → 0.77 functional
- 31 Oct 26 0
- Security disclosure: unverified → fail ▼ functional
- 30 Oct 26 0
- Security disclosure: fail → unverified ▼ functional
- 29 Oct 26 0
- CVE-2026-118663 affects this package: high ▼ security
- 28 Oct 26 +1
- GHSA-f897-62hf-6gxq affects this package: high ▼ security
- CVE-2026-110869 affects this package: high ▼ security
- CVE-2026-110872 affects this package: high ▼ security
- CVE-2026-110870 affects this package: high ▼ security
- Stability: 0.97 → pass security
- 27 Oct 26 −1
- Stability: pass → 0.97 functional
- 24 Oct 26 0
- GHSA-85x2-q946-cp5h affects this package: high ▼ security
- GHSA-m943-m63m-w62w affects this package: high ▼ security
- GHSA-8c8m-p3m8-cjg8 affects this package: high ▼ security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed npm/mailbox-mcp@0.13.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | jgalea/mailbox-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/jgalea/mailbox-mcp/.github/workflows/publish.yml@refs/tags/v0.13.1 |
| Rekor log index | 3193513918 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:4f68d427cb205218e52e85269f350cc34cd68aba3cdec87f28412a3895b856e974daf24985b4e82ebe140718669b8404ac64ba51c1cf46dc4c43ade43 |
Background: How many MCP packages publish verified provenance →
Vulnerabilities 26 findings
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-rmxm-3fg6-px4f | CVE-2026-118663 | medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | yes |
| GHSA-22jm-h49p-29qw | CVE-2026-111767 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L | yes |
| GHSA-46jr-4wx8-v453 | CVE-2026-111768 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-6prh-2h8m-c8cw | CVE-2026-111769 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-6qxp-vccf-f47h | CVE-2026-104850 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | yes |
| GHSA-f897-62hf-6gxq | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes | |
| GHSA-rvq5-wwqv-78pq | CVE-2026-111771 | medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | yes |
| GHSA-268h-hp4c-crq3 | CVE-2026-82661 | medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | yes |
| GHSA-2x7j-588g-ccc2 | CVE-2026-92596 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-39m8-27wv-hr27 | CVE-2026-110871 | medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-4ffr-jq9g-5ffx | CVE-2026-110869 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-4g23-2xm8-66gc | CVE-2026-110872 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-6vj9-mwq6-2f5v | CVE-2026-100701 | medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-85x2-q946-cp5h | CVE-2026-121426 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-8c8m-p3m8-cjg8 | CVE-2026-121424 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-8m3c-c648-2xjj | CVE-2026-92595 | medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-8vvx-rff5-p5rq | CVE-2026-100702 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-cc9r-2j5m-2m83 | CVE-2026-92597 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-g73g-hqqh-jr95 | CVE-2026-110870 | medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | yes |
| GHSA-m943-m63m-w62w | CVE-2026-121425 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-p6gq-j5cr-w38f | CVE-2026-82659 | high | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-r7g4-qg5f-qqm2 | CVE-2026-82662 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-v53p-9fqp-m79j | CVE-2026-100700 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-wmmp-3585-3rmp | CVE-2026-92598 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-wqvq-jvpq-h66f | CVE-2026-82660 | medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | yes |
| GHSA-w5hq-g745-h8pq | CVE-2026-41907 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | yes |
Background: What a vulnerability scan can and cannot prove →
Dependencies 141 packages
| Packages resolved | 141 |
|---|---|
| Deprecated | 1 |
| Stale | 44 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
archive_email ~59
Archive an email (remove from inbox). Gmail removes the INBOX label; IMAP moves to the Archive folder; JMAP moves out of the inbox mailbox.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_id | string | yes | Message ID |
No output schema declared.
No examples provided.
authenticate ~442
Add 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.
| Name | Type | Req | Description |
|---|---|---|---|
| alias | string | yes | Short name for this account (e.g. 'personal', 'work') |
| allowed_recipients | array | – | Recipient allowlist: exact addresses and/or @domain patterns. Sends to anyone else are refused. Can only be changed by editing accounts.json. |
| approval | string | – | Hold every send in a queue on disk; nothing leaves until the user runs `mailbox-mcp approve <id>` in a terminal. Can only be turned off by editing accounts.json. |
| daily_send_limit | number | – | Maximum messages this account may send per rolling 24 hours (default 100). |
| drafts_only | boolean | – | Send tools create drafts instead of sending. Can only be turned off by editing accounts.json. |
| string | yes | Email address | |
| host | string | – | IMAP server hostname (IMAP only) |
| password | string | – | IMAP/SMTP password or app password (IMAP only) |
| port | number | – | IMAP server port (IMAP only, default 993) |
| provider | string | yes | Email provider type |
| read_only | boolean | – | Refuse every write tool on this account (search and read still work). Can only be turned off by editing accounts.json. |
| sessionUrl | string | – | JMAP session URL override (JMAP only, auto-discovered from host by default) |
| smtpHost | string | – | SMTP server hostname (IMAP only) |
| smtpPort | number | – | SMTP server port (IMAP only, default 587) |
| untrusted_read_lock | string | – | Once this session has shown mail from an address the account never wrote to, route sends through the approval queue or refuse them until the server restarts. Can only be turned off by editing account… |
| username | string | – | IMAP/SMTP username (IMAP only) |
No output schema declared.
No examples provided.
batch_modify_emails ~61
Add or remove labels/flags on multiple messages
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| add_labels | array | – | Labels to add |
| message_ids | array | yes | Message IDs |
| remove_labels | array | – | Labels to remove |
No output schema declared.
No examples provided.
bulk_modify ~224
Add 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.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| add_labels | array | – | Labels to add to each matching message. |
| dry_run | boolean | – | If true, return the matching count without modifying anything. |
| folder | string | – | Optional folder/label scope. On Gmail becomes a 'label:' prefix; on IMAP/JMAP scopes the search to that mailbox. |
| max | number | – | Safety cap on number of messages to modify. Defaults to no cap. |
| query | string | yes | Search query (Gmail syntax for Gmail accounts, e.g. 'in:inbox older_than:30d') |
| remove_labels | array | – | Labels to remove from each matching message. Use ['INBOX'] for archive. |
No output schema declared.
No examples provided.
bulk_trash ~193
Trash 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).
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| dry_run | boolean | – | If true, return the matching count without trashing anything. |
| folder | string | – | Optional folder/label scope. On Gmail this becomes a 'label:' prefix; on IMAP/JMAP it scopes the search to that mailbox. |
| max | number | – | Safety cap on number of messages to trash. Defaults to no cap; set this to bound destructive scope. |
| query | string | yes | Search query (Gmail syntax for Gmail accounts, e.g. 'label:Meetups' or 'from:noreply@example.com older_than:30d') |
No output schema declared.
No examples provided.
bulk_unsubscribe ~37
Find unsubscribe links for multiple mailing list messages
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_ids | array | yes | Message IDs |
No output schema declared.
No examples provided.
count_unread_by_label ~36
Count unread messages per label/folder. Useful for deciding where to look first.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
No output schema declared.
No examples provided.
create_draft ~208
Create a draft email
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| attachments | array | – | Optional list of local file paths to attach. Each path must point to a regular file under 25 MB; total per message is also capped at 25 MB. |
| bcc | array | – | BCC recipients |
| body | string | yes | Email body |
| cc | array | – | CC recipients |
| from | string | – | Sender address, e.g. 'alias@example.com' or 'Name <alias@example.com>'. Must be a verified send-as alias (Gmail) or identity (JMAP) on the account, otherwise the call fails. Defaults to the account's… |
| html | boolean | – | Send as HTML (default false) |
| in_reply_to | string | – | Message ID to create draft as reply to |
| subject | string | yes | Email subject |
| to | array | yes | Recipient email addresses |
No output schema declared.
No examples provided.
create_filter ~154
Create a Gmail filter
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| add_label | string | – | Label to apply, by name (e.g. 'Investing' or 'Newsletters/Investing') or by label ID |
| archive | boolean | – | Skip inbox |
| create_label | boolean | – | Create add_label if no label with that name exists (default false) |
| from | string | – | Filter by sender |
| mark_read | boolean | – | Mark as read |
| query | string | – | Filter by search query |
| remove_label | string | – | Label to remove, by name or ID |
| subject | string | – | Filter by subject |
| to | string | – | Filter by recipient |
No output schema declared.
No examples provided.
create_label ~42
Create a new label (Gmail) or folder (IMAP)
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| name | string | yes | Label/folder name |
No output schema declared.
No examples provided.
delete_draft ~42
Permanently delete a Gmail draft. This cannot be undone.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| draft_id | string | yes | Draft ID to delete |
No output schema declared.
No examples provided.
delete_filter ~34
Delete a Gmail filter
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| filter_id | string | yes | Filter ID to delete |
No output schema declared.
No examples provided.
delete_label ~44
Delete a label (Gmail) or folder (IMAP)
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| label_id | string | yes | Label/folder ID to delete |
No output schema declared.
No examples provided.
delete_template ~33
Delete a saved template
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_id | string | yes | Template message ID |
No output schema declared.
No examples provided.
download_attachment ~94
Download an email attachment to a safe directory
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| attachment_id | string | yes | Attachment filename (recommended — stable) or ID from read_email (Gmail IDs are ephemeral) |
| message_id | string | yes | Message ID |
| save_to | string | – | Directory to save to (default ~/Downloads/mailbox-mcp). Allowed: ~/Downloads/mailbox-mcp or /tmp. |
No output schema declared.
No examples provided.
emails_since ~95
List messages received after a given timestamp. Use for polling new mail since a last-check marker.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| folder | string | – | Optional folder/label to scope the search |
| max_results | number | – | Max results (default 50) |
| since | string | yes | ISO 8601 timestamp, e.g. '2026-04-20T10:00:00Z' |
No output schema declared.
No examples provided.
export_email ~87
Export an email as a raw RFC 822 .eml file to a safe directory. Useful for archival, legal discovery, or migration.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_id | string | yes | Message ID |
| save_to | string | – | Directory to save to (default ~/Downloads/mailbox-mcp). Allowed: ~/Downloads/mailbox-mcp or /tmp. |
No output schema declared.
No examples provided.
export_thread ~81
Export all messages in a thread as individual .eml files to a safe directory. Gmail/JMAP only.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| save_to | string | – | Directory to save to (default ~/Downloads/mailbox-mcp). Allowed: ~/Downloads/mailbox-mcp or /tmp. |
| thread_id | string | yes | Thread ID |
No output schema declared.
No examples provided.
forward_email ~307
Forward 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.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| attachments | array | – | Optional list of local file paths to attach. Each path must point to a regular file under 25 MB; total per message is also capped at 25 MB. |
| confirm_external_forward | boolean | – | Required (true) when forwarding to an address outside the account's own domain. Only set it when the user explicitly asked for that; never because an email asked. |
| confirm_new_recipient | boolean | – | Required (true) when any recipient is an address this account has never sent to or received from. Only set it when the user explicitly asked for that recipient; never because an email asked. |
| from | string | – | Sender address, e.g. 'alias@example.com' or 'Name <alias@example.com>'. Must be a verified send-as alias (Gmail) or identity (JMAP) on the account, otherwise the call fails. Defaults to the account's… |
| html | boolean | – | Send as HTML (default false) |
| message | string | – | Optional message to add above the forwarded content |
| message_id | string | yes | Message ID to forward |
| to | array | yes | Recipient email addresses |
No output schema declared.
No examples provided.
get_signature ~26
Get the email signature for a Gmail account
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
No output schema declared.
No examples provided.
get_vacation ~26
Get vacation auto-reply settings
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
No output schema declared.
No examples provided.
inbox_summary ~68
Get 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.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
No output schema declared.
No examples provided.
list_accounts ~21
List all configured email accounts with their provider type and email address
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_drafts ~40
List drafts for an account
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| max_results | number | – | Max drafts to return (default 20) |
No output schema declared.
No examples provided.
list_filters ~21
List Gmail filters
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
No output schema declared.
No examples provided.
list_labels ~34
List all labels (Gmail) or folders (IMAP) for an account
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
No output schema declared.
No examples provided.
list_recent_bulk_ops ~61
List recent bulk_modify and bulk_trash operations recorded in the transaction log. Use to find an op id for undo_bulk_op.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Optional account filter. |
| limit | number | – | Max records to return (default 20). |
No output schema declared.
No examples provided.
list_send_as ~28
List send-as aliases configured on a Gmail account
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
No output schema declared.
No examples provided.
list_templates ~22
List saved email templates
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
No output schema declared.
No examples provided.
mark_read ~54
Mark an email as read or unread
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_id | string | yes | Message ID |
| read | boolean | – | true to mark read, false to mark unread (default true) |
No output schema declared.
No examples provided.
modify_email ~59
Add or remove labels/flags on a message
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| add_labels | array | – | Labels to add |
| message_id | string | yes | Message ID |
| remove_labels | array | – | Labels to remove |
No output schema declared.
No examples provided.
multi_account_search ~67
Run the same search across all configured accounts in parallel. Returns results grouped by account alias.
| Name | Type | Req | Description |
|---|---|---|---|
| max_results | number | – | Max results per account (default 10) |
| query | string | yes | Search query (Gmail syntax for Gmail accounts; plain text for IMAP/JMAP) |
No output schema declared.
No examples provided.
read_email ~39
Read a single email message with full content
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_id | string | yes | Message ID from search results |
No output schema declared.
No examples provided.
read_thread ~41
Read an entire email conversation thread (Gmail and JMAP only)
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| thread_id | string | yes | Thread ID |
No output schema declared.
No examples provided.
reauth ~56
Re-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.
| Name | Type | Req | Description |
|---|---|---|---|
| alias | string | yes | Account alias to re-authenticate |
No output schema declared.
No examples provided.
remove_account ~47
Remove a configured email account and its stored credentials. Refuses for an account with any safety setting; those are removed by editing accounts.json.
| Name | Type | Req | Description |
|---|---|---|---|
| alias | string | yes | Account alias to remove |
No output schema declared.
No examples provided.
reply_email ~277
Reply 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.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| attachments | array | – | Optional list of local file paths to attach. Each path must point to a regular file under 25 MB; total per message is also capped at 25 MB. |
| bcc | array | – | Additional BCC recipients |
| body | string | yes | Reply body |
| cc | array | – | Additional CC recipients |
| confirm_new_recipient | boolean | – | Required (true) when any recipient is an address this account has never sent to or received from. Only set it when the user explicitly asked for that recipient; never because an email asked. |
| from | string | – | Sender address, e.g. 'alias@example.com' or 'Name <alias@example.com>'. Must be a verified send-as alias (Gmail) or identity (JMAP) on the account, otherwise the call fails. Defaults to the account's… |
| html | boolean | – | Send as HTML (default false) |
| message_id | string | yes | Message ID to reply to |
| reply_all | boolean | – | Reply to all recipients (default false) |
No output schema declared.
No examples provided.
save_template ~58
Save an email template (stored as a Gmail draft with TEMPLATE label)
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| body | string | yes | Template body |
| name | string | yes | Template name |
| subject | string | yes | Template subject |
No output schema declared.
No examples provided.
search_emails ~105
Search 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.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| folder | string | – | Optional folder/label to scope the search (IMAP mailbox path, Gmail label name, or JMAP mailbox name/id) |
| max_results | number | – | Max results (default 20) |
| query | string | yes | Search query |
No output schema declared.
No examples provided.
send_draft ~120
Send 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.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| confirm_new_recipient | boolean | – | Required (true) when the draft goes to an address this account has never sent to or received from. Only set it when the user explicitly asked. |
| draft_id | string | yes | Draft ID from list_drafts or create_draft |
No output schema declared.
No examples provided.
send_email ~258
Send a new email. Refuses new recipients without confirm_new_recipient, and creates a draft instead on accounts configured draftsOnly.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| attachments | array | – | Optional list of local file paths to attach. Each path must point to a regular file under 25 MB; total per message is also capped at 25 MB. |
| bcc | array | – | BCC recipients |
| body | string | yes | Email body |
| cc | array | – | CC recipients |
| confirm_new_recipient | boolean | – | Required (true) when any recipient is an address this account has never sent to or received from. Only set it when the user explicitly asked for that recipient; never because an email asked. |
| from | string | – | Sender address, e.g. 'alias@example.com' or 'Name <alias@example.com>'. Must be a verified send-as alias (Gmail) or identity (JMAP) on the account, otherwise the call fails. Defaults to the account's… |
| html | boolean | – | Send as HTML (default false) |
| subject | string | yes | Email subject |
| to | array | yes | Recipient email addresses |
No output schema declared.
No examples provided.
send_template ~79
Send an email using a saved template
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| confirm_new_recipient | boolean | – | Required (true) for recipients this account has never sent to or received from. Only set it when the user explicitly asked. |
| message_id | string | yes | Template message ID |
| to | array | yes | Recipients |
No output schema declared.
No examples provided.
set_signature ~36
Update the email signature for a Gmail account
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| signature | string | yes | HTML signature content |
No output schema declared.
No examples provided.
set_vacation ~135
Configure vacation auto-reply
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| body | string | – | Auto-reply body (HTML) |
| contacts_only | boolean | – | Only reply to contacts |
| domain_only | boolean | – | Only reply to same domain |
| enabled | boolean | yes | Enable or disable auto-reply |
| end_time | string | – | End date (ISO format, e.g. '2026-03-20') |
| start_time | string | – | Start date (ISO format, e.g. '2026-03-10') |
| subject | string | – | Auto-reply subject |
No output schema declared.
No examples provided.
star_email ~52
Star or unstar an email
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_id | string | yes | Message ID |
| starred | boolean | – | true to star, false to unstar (default true) |
No output schema declared.
No examples provided.
trash_emails ~35
Move messages to trash
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_ids | array | yes | Message IDs to trash |
No output schema declared.
No examples provided.
undo_bulk_op ~76
Reverse 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).
| Name | Type | Req | Description |
|---|---|---|---|
| op_id | string | yes | The op id from list_recent_bulk_ops. |
No output schema declared.
No examples provided.
unsubscribe ~44
Unsubscribe from a mailing list by finding the List-Unsubscribe header
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| message_id | string | yes | Message ID from the mailing list |
No output schema declared.
No examples provided.
update_draft ~164
Replace the contents of an existing Gmail draft. The draft's thread association is preserved automatically.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account alias |
| attachments | array | – | Optional list of local file paths to attach. Each must be a regular file under 25 MB. |
| bcc | array | – | BCC recipients |
| body | string | yes | Email body |
| cc | array | – | CC recipients |
| draft_id | string | yes | Draft ID returned by create_draft |
| from | string | – | Sender address. Must be a verified send-as alias on the account. Defaults to the primary address. |
| html | boolean | – | Send as HTML (default false) |
| subject | string | yes | Email subject |
| to | array | yes | Recipient email addresses |
No output schema declared.
No examples provided.
How do I install the io.github.jgalea/mailbox-mcp server?
io.github.jgalea/mailbox-mcp runs locally as an npm package, launched with npx -y mailbox-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · mailbox-mcp
claude mcp add jgalea-mailbox-mcp -- npx -y mailbox-mcp
What is the io.github.jgalea/mailbox-mcp server?
io.github.jgalea/mailbox-mcp is listed in the public MCP registry as io.github.jgalea/mailbox-mcp. Multi-account email MCP server for Gmail, IMAP, and JMAP: search, send, drafts, labels. This page covers its npm package (mailbox-mcp).
Is the io.github.jgalea/mailbox-mcp server safe to use?
io.github.jgalea/mailbox-mcp scores 87 out of 100 on VerifyMCP. We recorded 26 known advisories against it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the io.github.jgalea/mailbox-mcp server expose?
io.github.jgalea/mailbox-mcp exposes 49 tools: send_email, reply_email, forward_email, create_draft, list_accounts, and 44 more. Their descriptions and schemas cost roughly 4,422 tokens of context every time the server is loaded.
Is the io.github.jgalea/mailbox-mcp server still maintained?
io.github.jgalea/mailbox-mcp is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the io.github.jgalea/mailbox-mcp server under?
io.github.jgalea/mailbox-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.