Extract and download attachments from multiple Thunderbird emails in one operation. Save attachments as separate files or export them together in a ZIP archive, without manually opening each message.
Developed by Any Communication, an independent digital agency in France.
Install from Thunderbird Add-ons · Releases · Report a bug or suggest a feature · Any Communication
- Version: 0.1.8
- Minimum Thunderbird version declared: 115.0
- License: MIT
- Extract attachments from multiple selected emails using the context menu.
- Save individual files or export a ZIP archive.
- Configure a relative destination subfolder within Thunderbird’s download folder.
- Optionally prefix filenames with the email date.
- Available in English, French, German, Spanish and Italian.
Install Attachment Batch Extract from the official Thunderbird Add-ons catalog. This is the recommended distribution channel for automatic updates.
Download the XPI from GitHub Releases, or build it using the instructions below. In Thunderbird, open Add-ons and Themes and select Install Add-on From File.
Select messages, right-click and choose the desired attachment extraction action.
Attachment Batch Extract processes selected email attachments locally in Thunderbird. The add-on code does not send attachments to an external server, include analytics or request access to external websites. Preferences are stored locally.
| Permission | Purpose |
|---|---|
menus |
Add extraction commands to the message context menu. |
messagesRead |
Read attachments from selected messages. |
downloads |
Save files and ZIP archives. |
storage |
Store local preferences. |
notifications |
Display extraction results and status. |
Large ZIP exports may require substantial memory. For very large batches, consider extracting smaller groups of messages.
Attachment Batch Extract est une extension Thunderbird permettant de télécharger en lot les pièces jointes de plusieurs e-mails sélectionnés, sous forme de fichiers individuels ou d'une archive ZIP. Le traitement est local. L'extension permet également de choisir un sous-dossier de destination et de préfixer les noms de fichiers avec la date du message.
Installer gratuitement l’extension depuis Thunderbird Add-ons.
Thunderbird MailExtension. Add-on ID attachment-batch-extract@example,
manifest v2, strict_min_version 115.0.
This project is the build toolchain for the add-on. The only third-party
library shipped with the add-on is JSZip. Its official pre-built file is
included in extension/lib/. It is pinned in package.json (jszip@3.10.1)
and package-lock.json, fetched from
the npm registry, and copied verbatim into extension/lib/jszip.min.js by the
build script. Nothing is minified, transpiled or bundled by us.
- Node.js 18+ and npm (tested with Node 22).
npm ci # installs the pinned JSZip 3.10.1 from package-lock.json
npm run build # verifies JSZip, copies it, and writes dist/attachment_batch_extract-0.1.8.xpinpm run build prints the SHA-256 of the copied jszip.min.js. It must be:
acc7e41455a80765b5fd9c7ee1b8078a6d160bbbca455aeae854de65c947d59e
If you do not yet have a package-lock.json, run npm install once (it
generates the lock file), then commit it and use npm ci from then on.
npm run pack-source # writes attachment_batch_extract-0.1.8-source.zipThis archives the source while excluding Git metadata, node_modules/, dist/ and generated XPI/ZIP artifacts, i.e. the
add-on source + package.json + package-lock.json. That zip is what you
attach as the "source code" on addons.thunderbird.net.
- Add-on file:
dist/attachment_batch_extract-0.1.8.xpi - Source archive:
attachment_batch_extract-0.1.8-source.zip
extension/ exact files shipped in the XPI (manifest.json at root)
manifest.json
background.js
options.html
options.js
VENDOR third-party library notice (JSZip)
_locales/{de,en,es,fr,it}/messages.json
icons/
lib/jszip.min.js written by `npm run build` (from node_modules/jszip)
scripts/
build.mjs copy + verify JSZip, package the XPI
pack-source.mjs build the source archive (excludes node_modules/dist)
package.json pins jszip@3.10.1 (+ archiver for packaging)
package-lock.json exact dependency versions (generated by npm)
- The add-on calls JSZip only from the background script
(
extension/background.js, functionextractAsZip). - The
Function constructor is evalwarning originates inside JSZip's bundledsetimmediatepolyfill (filedist/jszip.js,new Function("" + callback)). It is part of the unmodified upstream library, not add-on code.
The original project code is licensed under MIT (see LICENSE). JSZip retains its upstream license and copyright notices; see extension/VENDOR.