MCP for Thunderbird 0.3.1
by Wade John Beckett
Lets AI apps on your computer, such as Claude Desktop, Claude Code, Codex and Cursor, work with your mail through the Model Context Protocol, within limits you set in the add-on's options. Needs the free host program from the project's releases page.
About this Add-on
HOW IT WORKS
There are two parts. The add-on runs in the mail app and does the mail work through the standard add-on interfaces. The host program is a small separate program on the same computer, started through native messaging when the mail app starts and stopped when it closes. AI apps talk to the host program, and the host program passes their requests to the add-on. The host program is a separate download: install it for your system from https://github.com/wadejbeckett/mcp-for-thunderbird/releases and run its setup once. Without it the toolbar button shows "not connected" and nothing else happens.
WHAT AI APPS CAN DO
The tools come in groups that you switch on or off in the options:
- Read: list accounts and folders, search mail, read one message, list a conversation, save an attachment to a folder you choose, and describe a message filter for you to create.
- Organise: mark as read or flagged, add or remove tags, move or copy to another folder, archive, and move to Trash.
- Draft: save a message, reply or forward to Drafts, or open a filled-in compose window for you to check and send.
- Contacts: look people up in your address books.
- Sending: send a message with no window, only to recipients you have listed. Off unless you turn it on.
No tool deletes mail for good, empties Trash or Junk, deletes a folder or changes account settings.
GETTING STARTED
1. Install the host program from the releases page and run its setup; the page explains each system.
2. Install this add-on. Its setup page opens: tick the accounts AI apps may use, choose what they may do, and tick the AI apps to set up.
3. Restart your AI app and ask it, for example, "What needs my attention in my inbox today?"
The options page (Add-ons and Themes, then this add-on's Options) holds every setting, the connection details for an AI app you set up by hand, and an activity log of the last 500 requests.
SAFETY DEFAULTS
- No accounts until you tick them, and no sending: with the default settings nothing an AI app does can send mail or delete anything for good.
- Search returns pointers only (sender, subject, date, folder, flags), never message text. An AI app reads the text of a message only by asking for that one message.
- Message text is marked as untrusted content, with hidden text, scripts and invisible characters removed as far as practical, so a message cannot easily pass itself off as instructions to the AI app.
- Local only, with an access key: the host program listens only on your own computer and answers only requests that carry its key.
- Pause from the toolbar at any time; the activity log shows what each app did.
PRIVACY
The add-on sends the host program mail data only as the results of tool calls an AI app made, within your settings: the names and addresses of the accounts you enabled, their folders and tags, message headers, the text of the messages the AI app asks to read, the bytes of the attachments it asks to save, and contacts when the contacts group is on. The host program passes those results only to AI apps on the same computer that hold its access key. The AI app sends what it reads to its own vendor, under that vendor's terms. Nothing goes to the author of this add-on: it has no server, no account and no telemetry. The full privacy policy is below and in the repository.
REQUIREMENTS
Thunderbird 140 ESR or later on Linux; the host program; and an AI app that supports MCP. Windows and macOS are not supported yet: their packages are built and tested in CI, but have not been checked by hand on a real PC or Mac. On 140 ESR the two tools that save a draft or send without a window are not offered; they are offered from version 153 on, and the compose window works on every supported version.
MCP for Thunderbird is free software under the GNU General Public License, version 3 or later, with its source at https://github.com/wadejbeckett/mcp-for-thunderbird. It is not made by, endorsed by or affiliated with Mozilla or MZLA Technologies.