# benethos-mailbox-mcp [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/benethos-hub/mailbox  
**GitHub Stars:** 6  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/benethos-mailbox-mcp

## Description
MCP server that gives AI agents your mailboxes through mailbox-service, within its token's rights.

## Tools
Capabilities this server exposes over MCP:

- **list_accounts** — the accounts and what may be done on each
- **list_folders** — the folders of an account, with their roles and counts
- **search_messages** — finds mail in one account, several or all
- **get_message** — one mail as plain text, with its attachments listed
- **get_thread** — a conversation across folders
- **whats_new** — mail created, changed or deleted since an earlier call
- **get_attachment** — an attachment: images, PDF pages as images, text
- **share_attachment** — a link another service fetches an attachment with, once
- **update_messages** — read state, star, move, keywords, labels, trash
- **create_folder** — a new folder
- **update_folder** — renames or moves a folder
- **list_drafts** — the drafts of an account
- **create_draft** — a draft, also as a reply or a forward
- **update_draft** — replaces a draft
- **delete_draft** — deletes a draft
- **send_message** — sends a mail at once, or through the outbox
- **send_draft** — sends a stored draft
- **list_outbox** — the sends of the outbox and how they stand
- **cancel_send** — cancels a send that still waits in the outbox
- **server_status** — what runs, and whether the service answers

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What benethos-mailbox-mcp does

benethos-mailbox-mcp exposes mailbox operations as MCP tools for an AI assistant. It connects to mailbox-service rather than directly managing provider credentials. The service can unify accounts backed by IMAP and SMTP, JMAP, POP3, Microsoft Graph, or the Gmail API, while the MCP server uses the service's common REST API.

The available operations cover the main mailbox workflow: discovering accounts and folders, searching messages, reading individual messages or conversation threads, checking changes since a previous call, and retrieving attachments. Agents can also change message state, move or delete mail, manage folders, create and revise drafts, send messages, and inspect or cancel queued sends.

## How it works

mailbox-service runs on a machine or server controlled by the operator and holds connections to configured mail accounts. The MCP server builds on the Python mailbox client, which communicates with that service. An assistant receives a token whose grants determine which accounts and actions it can use.

The permission model can limit an assistant to particular folders or operations. It can also restrict permitted recipients, impose a daily sending limit, allow drafting without sending, and set an end date for access. Sending may happen immediately or through the outbox, including a scheduled send time. Retried sends use an idempotency key so an attempted retry is not sent twice.

Mailbox data and operations remain behind the service's API. Provider credentials are encrypted by the service using AES-256-GCM and a master key stored outside the database. The service records sends, sign-ins, and changes to users, tokens, roles, accounts, and webhooks in its audit data.

## Tools and capabilities

The MCP tool set includes:

- `list_accounts` for available accounts and permitted actions.
- `list_folders` for folder roles and message counts.
- `search_messages`, `get_message`, and `get_thread` for finding and reading mail.
- `whats_new` for created, changed, or deleted messages since an earlier call.
- `get_attachment` for images, PDF pages as images, and text attachments.
- `share_attachment` for creating a one-time fetch link for another service.
- `update_messages` for read state, stars, moves, keywords, labels, and trash.
- `create_folder` and `update_folder` for folder management.
- `list_drafts`, `create_draft`, `update_draft`, and `delete_draft` for draft workflows, including replies and forwards.
- `send_message` and `send_draft` for immediate or outbox-based sending.
- `list_outbox` and `cancel_send` for queued-send status and cancellation.
- `server_status` for checking service availability and runtime status.

The server fits assistants that need cross-account search, invoice or newsletter filing, attachment review, controlled replies, or draft generation. Its access is governed by the token issued by mailbox-service, so the same MCP connection can be deliberately narrower than a person's full mailbox access.

_Full upstream README: https://allmcps.com/mcp/benethos-mailbox-mcp/readme_

