Products · Thunderbird extension
Inline Image OptimizerFewer megabytes in every message.
Images embedded in emails can weigh more than the entire conversation. This extension lets you remove an image from the body or change its actual size — without broken cid: references and without sending anything outside your computer.
The Mozilla Add-ons link will appear here once the extension is published.
2
context-menu actions for an image
3
supported formats: PNG, JPEG, WebP
128–153
supported Thunderbird versions
0
data sent outside your computer
The problem
An image in an email can weigh more than the whole message.
A phone photo in a signature, a 4K screenshot in a quoted thread, or a graphic pasted into a footer — Thunderbird displays the image, but the actual file still sits in the message on the server.
The built-in attachment removal deletes the MIME part but leaves the cid: reference in the body — so the message ends up with a broken image. Resizing an image in the composer does not necessarily shrink the file either; it often only changes how the image is displayed. This extension works differently: it rewrites the HTML and MIME, then saves the message back to IMAP.
- Mailboxes filling up with copies of photos and screenshots.
- Slower synchronisation and more mobile data usage.
- IMAP quota limits reached sooner.
- Removing an attachment leaves a broken cid: reference.
- On-screen size is not the same as file size.
- Archives keep growing even though most images are no longer needed.
The extension turns “there is no sensible way to shrink this” into two concrete actions in the context menu.
4032 × 3024 px · 8.4 MB
example: a 4032 × 3024 px photo
When it helps
Everyday situations where it saves space.
This is not about exceptional attachments. The usual problem is images that end up in emails casually — and stay there for months.
Signatures with a large photo
Company signatures with a graphic or team photo can weigh more than the message itself.
4K screenshots
Screenshots from high-resolution monitors and captures from design tools.
Quoted threads
Images from earlier messages repeated in subsequent replies.
Mailboxes with limits
IMAP accounts with a quota and archives that should stay light.
Product preview
This is what it looks like in practice.
Switch views and see what happens to the message after resizing and after removing the image.
Re: Conference project — materials
Thunderbird · work account
Marta Zielińska <marta.zielinska@example.com>
today, 09:41To: me
Re: Conference project — materials
Hi, I have attached a photo from our last meeting. Feel free to use it in the presentation — I think it looks best in a larger format.
Right-click the image
Message size: 8.6 MB
The image takes up most of the message. Thunderbird downloads it in full on every device.
Illustrative mock-up — sample data, not an application screenshot.
How it works
Four steps to a lighter mailbox.
The extension works on the message you are reading. It needs no server configuration and no additional account.
Open a message with an image
The image must be embedded in the HTML body — as a MIME part, a data: image or a ?part= reference. Regular attachments are not covered.
Right-click the image
The image context menu offers two actions: resize and remove from the message body.
Set the size and quality
The dialog shows the name, format, dimensions and file size. You can enter a percentage, pixels, or — for JPEG — a quality from 1 to 100%.
Save the modified message
The extension rewrites the HTML and MIME, then uploads the message back to IMAP. Refresh the preview if Thunderbird still shows the old image.
Features
Everything you need to slim down a message.
From real pixel resizing to safe reference removal — without leaving Thunderbird.
Real resizing
The extension scales and re-encodes the image. It is not just a width change in the HTML.
Percentage or pixels
Enter a percentage scale or specific width and height. Keep-aspect-ratio is enabled by default.
JPEG quality 1–100%
For JPEG, the extension estimates the original quality from the quantization tables and lets you set a new one.
Removal without dead references
Removing an image covers the HTML reference and — if present — the matching MIME part, with no broken cid:.
PNG, JPEG and WebP
The three formats that most often appear in email. Other formats are rejected with a clear message.
Images embedded in the body
Supports cid:, data: and ?part= references. Remote http/https images are not resized.
Confirmation before changes
By default the extension asks for consent and warns that the message will be permanently modified on the server.
Everything local
No account, no external API and no message content sent to the cloud.
Benefits
Less data, more order.
Images in email are useful. The problem starts when they stay in the mailbox long after they stopped being needed.
Less space on your IMAP account
A smaller message file means less quota usage and lighter backups.
Faster synchronisation
Thunderbird downloads less data when checking and opening messages.
Less mobile data
Especially noticeable with photos and screenshots opened on a phone.
Clean threads without broken images
Removal covers the HTML reference, so no dead cid: is left in the body.
Quality under control
You decide how many pixels and how much JPEG quality to keep. You can shrink a file without losing readability.
Privacy without compromise
Everything happens locally in Thunderbird. No message content leaves your computer.
Works with what you already have
You do not need to ask senders to change how they send mail or wait for new messages.
Stay in Thunderbird
No extra email client to install and no change to your habits.
Security and limitations
Worth knowing before you click.
The extension modifies the message on the server, so a few things need to be stated plainly.
Co działa po naszej stronie
Confirmation enabled by default
Before removing or resizing, the extension shows which image and which operation you are approving.
No data sent outside
All image processing and message rewriting happens locally.
Clear error messages
An unsupported format, a damaged file or an image missing from the body ends with a message, not a silent change.
O czym trzeba pamiętać
The operation is permanent
The extension does not create a backup. The message UID changes and any digital signature becomes invalid.
Remote images
Removal only deletes the HTML reference and saves no mailbox space (0 B). Resizing is not available for them.
Unsupported formats
GIF, BMP, AVIF and SVG are not supported. Animated WebP will be saved as a static frame.
JPEG quality
Every re-encode irreversibly degrades quality. EXIF/ICC metadata may be lost.
Preview refresh
After saving, Thunderbird may still show the old image. Open the message again.
IMAP accounts only
The extension saves the modified message back to the IMAP server; it does not support POP3 accounts.
If the message is important, make a backup on the server or in Thunderbird before changing it.
Installation
A few minutes and you are done.
The extension runs in Thunderbird 128–153 and needs no extra server or cloud account.
Step by step
- 1Install the add-on from Mozilla Add-ons (the link will appear after publication).
- 2Open a message with an image embedded in the HTML body.
- 3Right-click the image.
- 4Choose “Resize image…” or “Delete image from message body”.
- 5Confirm the change and refresh the message if the preview shows the old version.
Nothing to configure. Confirmation before changes is enabled by default.
Requirements
Thunderbird 128–153
Supported client version range.
IMAP account
The modified message is saved back to the server.
scripting permission
Thunderbird uses it to show the confirmation inside the message body.
Image in the HTML body
Not a regular attachment — the image must be part of the message body.
The operation permanently modifies the message on the IMAP server. There is no built-in undo or backup.
Add to Thunderbird
Coming soon to Mozilla Add-ons
FAQ
Frequently asked questions.
Contact
Let us talk about your project.
Tell us about your idea - we will respond, advise and quote the project. No obligations.
ul. Dworcowa 11B, 05-820 Piastów
NIP 534-219-20-63 · REGON 140520107