Listed from the MCP registry; nobody on Odel publishes it.
MCP server giving AI agents your mailboxes via benethos-mailbox-service, within its token's rights.
Runs on your machine from its package; the steps are below.

At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx benethos-mailbox-mcp
MCP client config
{
"mcpServers": {
"benethos-mailbox": {
"command": "uvx",
"args": [
"benethos-mailbox-mcp"
]
}
}
}Distributed as an MCP bundle (`https://github.com/benethos-hub/mailbox/releases/download/v0.11.1/benethos-mailbox-mcp-0.11.1.mcpb`) — download it and import the bundle in your MCP client.
One REST API for all your mailboxes, whichever provider they are at, a Python client for it, an MCP server and small AI agents on top. Scripts, tools, AI assistants and the agents work with your mail through one door you control.
Status: beta, version 0.11.1. Usable with real accounts. A breaking change of the API or the configuration is announced in the changelog. Stored data is carried forward by migrations.
Contents
Most people and small companies have more than one mail account: a personal address at GMX or web.de, a company mailbox at Microsoft 365, an info@ address at some hoster, maybe a Gmail account. Each speaks its own dialect: IMAP here, Microsoft Graph there. Every tool that wants to work with mail has to learn all of them and has to be given the passwords.
Mailbox turns that around. It has five packages. mailbox-service runs on
your own machine or server and holds the connections to all accounts.
Everything else talks to that service only, through one REST API that
looks the same for every provider. mailbox-client is the Python
client of that API, for scripts and apps. mailbox-mcp, the MCP
server, builds on the client and opens the service to AI assistants
such as Claude. mailbox-agents, still alpha, are small AI agents that
work on a mailbox through the client, one narrow question each.
mailbox-common holds what the service, the MCP server and the agents
share. The service decides who may do what. A script, an app, an AI
assistant or an agent gets a token of its own. That token opens exactly the accounts and
operations it was given, nothing more.
That makes a few things simple that are hard otherwise.
Through the MCP server, Claude or another AI assistant works with every account you gave it. A few requests it handles today:
Its rights decide whether it may send on its own or only leave drafts for a person to send. A grant can also name the recipients it may write to, such as the tax advisor's address alone, and how many mails it may send a day. A mail to anyone else is refused. It can keep the agent to some folders, such as the invoices, and end after a week.
sender_check). Message ids stay
the same when a message moves, kept by a background sync. A link to an
attachment lets another service fetch the file once, without a token.Idempotency-Key).server_status always, and following its rights while
it runs. Mail content reaches
the model marked as foreign text./ui: accounts, users,
rights, tokens, reading and writing mail, the send audit, webhooks,
the status of accounts and sync, the audit of administration, the
service log.GET /v1/metrics, for a token with
their right:
monitoring.What comes next, and in which order, is in docs/ROADMAP.md.
| Provider | Connected via | Credential | State |
|---|---|---|---|
| GMX, web.de, T-Online, Yahoo, AOL, iCloud, Posteo, mailbox.org, IONOS, Strato, own mail servers | IMAP + SMTP | app password | available |
| Microsoft 365, Outlook.com | Microsoft Graph | OAuth, through the project's app or your own (setup) | available |
| Proton Mail | IMAP + SMTP through Proton Mail Bridge | Bridge password | IMAP, not tested |
| Gmail / Google Workspace | Gmail API, or IMAP + SMTP | OAuth, with your own Google Cloud client (setup), or an app password | available |
| Fastmail, Stalwart, other JMAP servers | JMAP | API token or password | available |
| legacy mailboxes without IMAP | POP3 + SMTP: the inbox only, no folders, no read state, no search | password | available |
Not supportable: Tuta, which offers no IMAP and no API. Details per provider in the concept, section 5.3.
| Package | What it is | Runs | Read more |
|---|---|---|---|
mailbox-service | the service: REST API, configuration UI, users and rights, accounts, encrypted credentials, provider adapters, background sync | permanently | packages/mailbox-service |
mailbox-client | the Python client of the REST API, async and sync | inside your own code | packages/mailbox-client |
mailbox-mcp | the MCP server, on top of mailbox-client | per client over stdio, or as a server over HTTP | packages/mailbox-mcp |
mailbox-common | what the service, the MCP server and the agents share | installed with them | packages/mailbox-common |
mailbox-agents | small AI agents that sort and mark mail, on top of mailbox-client, alpha | a process per agent | packages/mailbox-agents |
A release publishes all five to PyPI under the same version, as
benethos-mailbox-service, benethos-mailbox-client,
benethos-mailbox-mcp, benethos-mailbox-common and
benethos-mailbox-agents, and the service, the MCP server and the
agents as container images on ghcr.io. The MCP server is listed in the official MCP
Registry as io.github.benethos-hub/benethos-mailbox-mcp, and every
release carries it as a Claude Desktop extension,
benethos-mailbox-mcp.mcpb. Each package has its own README. It
explains how to install, start and configure it, for the service and
the MCP server with the container image and the compose file.
The MCP server and the service must have the same version to work together. Update both at once. The MCP server's tool
server_statusshows the service's version and whether it matches its own.
The tools of the MCP server. Each is offered only to a token with the right it needs. What each takes and answers, and the hints it carries for clients: packages/mailbox-mcp.
| Tool | Needs | What it does |
|---|---|---|
list_accounts | – | the accounts and what may be done on each |
list_folders | mail.read | the folders of an account, with their roles and counts |
search_messages | mail.read | finds mail in one account, several or all |
get_message | mail.read | one mail as plain text, with its attachments listed |
get_thread | mail.read | a conversation across folders |
whats_new | mail.read | mail created, changed or deleted since an earlier call |
get_attachment | mail.read | an attachment: images, PDF pages as images, text |
share_attachment | mail.share | a link another service fetches an attachment with, once |
update_messages | mail.write | read state, star, move, keywords, labels, trash |
create_folder | mail.write | a new folder |
update_folder | mail.write | renames or moves a folder |
list_drafts | drafts | the drafts of an account |
create_draft | drafts | a draft, also as a reply or a forward |
update_draft | drafts | replaces a draft |
delete_draft | drafts | deletes a draft |
send_message | send | sends a mail at once |
send_draft | send | sends a stored draft |
server_status | – | what runs, and whether the service answers |
http://127.0.0.1:8080/ui, sign in as admin with the
one-time password, choose a password of your own and connect your
accounts.uvx: packages/mailbox-mcp./docsOne uv workspace, one lockfile, five distributions.
uv sync
uv run pytest -q
uv run ruff check . && uv run ruff format --check .
uv run mypy
The tests run offline. CI runs these checks too, most of them as the
organisation's reusable workflows. It also installs the packages on the
lowest versions their pyproject.toml allows and runs the tests there,
checks those versions and every version in uv.lock against OSV for
known vulnerabilities, and checks the brand assets in assets/brand/.
Every one of these checks has to pass before a change reaches main.
A further job opens the configuration UI in Chrome, Firefox and WebKit
and checks what only a browser shows: the page of a sign-in with a code
goes on by itself, and no page breaks the content security policy.
CodeQL reads the code and the workflows on every change and once a week, hadolint the Dockerfiles on every change. Both file what they find under Security, Code scanning. A merge does not wait for them.
A separate workflow runs once a day and after each run of the publishing
workflow, and passes or stops nothing. It keeps one issue with what the
project pins and what is newer: packages, vulnerabilities, images, actions
and the JavaScript the UI ships. A second issue opens when the newest
versions the ranges in pyproject.toml allow break the tests or
tests/installed_check.py, or when a published package no longer installs
or starts from PyPI. An install without the lockfile, such as uvx or
pip install, gets those versions, so this can change on any day without a
release here. That check sees neither a real mailbox nor the MCP server in
front of the real service.
Manual checks against real test accounts live in live/ and are
described in docs/LIVE.md. The working rules for this
repository are in CLAUDE.md.
MIT, see LICENSE.