AI Mate adds OpenAI powered assistance to Thunderbird. It can draft replies directly in the compose window and summarize messages from both compose and reader toolbars. Everything runs locally in your Thunderbird profile; the add-on never stores data on remote servers.
- Compose reply button that generates a first draft using the message currently open in the composer.
- Reader summary popup that can summarize the selected message thread (requires an explicit opt-in in the options page).
- Custom instructions and tone controls including temperature, top-p, penalties, and preferred summary style or language.
- Per-user settings stored with
browser.storage.local, so nothing is synced or shared across devices.
- Thunderbird 115 or newer.
- An active OpenAI API key (create one at https://platform.openai.com/api-keys).
- Open Thunderbird and navigate to Tools > Developer Tools > Debug Add-ons (or visit
about:debugging#/runtime/this-thunderbird). - Click Load Temporary Add-on and choose the
manifest.jsonfile inside this repository. - The add-on will be available until Thunderbird is closed.
- Go to Thunderbird > Add-ons and Themes > Extensions > AI Mate > Preferences (or use the add-on gear menu to open options).
- Enter your OpenAI API key, pick a model, and adjust any optional parameters.
- (Optional) Enable message display summaries if you want the reader toolbar button to send currently viewed messages to OpenAI. You can also opt in to start summarizing automatically when the window opens.
- Open a message reply or compose window with the original email quoted.
- Click the AI Mate Reply button (add it via toolbar customization if hidden).
- Optionally type extra guidance in the popup prompt field.
- Click Generate Reply. The add-on inserts the AI draft at the top of the compose body while leaving the quoted message beneath it.
- Open the AI Mate popup from the compose toolbar.
- Click Summarize Email to send the current draft and quoted content to OpenAI.
- The summary appears in the popup; use Clear summary to remove it.
- Enable message display summaries in the options page.
- Select any message and click the AI Mate button in the message display toolbar.
- The reader popup shows the summary once OpenAI responds. Copy it with Copy Summary if needed.
- No email content is sent to OpenAI until you provide a valid API key and trigger an AI feature.
- When triggered, the add-on sends the message text, subject, sender, recipient list, and any custom instruction to the OpenAI API.
- Responses from OpenAI are sanitized with DOMPurify before they are inserted into Thunderbird.
- All configuration data remains in
browser.storage.localwithin your Thunderbird profile.
- Windows (PowerShell):
./pack.ps1(outputsdist/ai-mate-<version>.xpi) - macOS/Linux:
zip -r ai-mate-<version>.xpi . -x "*.git*" -x "*.xpi" -x "tmp_unpack/*"
- Questions or feedback: https://github.com/EnriqueITE/AI-Mate
- X (Twitter): https://x.com/EnriqueITE
- Buy Me a Coffee: https://buymeacoffee.com/enriqueite
AI Mate is free software licensed under the GNU General Public License v3.0 or later. See LICENSE for the standard GPL terms and NOTICE for the project copyright notice.