Render inline cid: images via the new EmailService endpoint

Featurekamo-internal
Shipped
May 9, 2026 at 7:00 PM UTC
Author
kamo
Commit
621d803

When a message exposes inline parts (each carrying a contentId), the email renderer now rewrites <img src="cid:..."> references at mount time to **************** which the proxy now also forwards Cache-Control on so the browser caches the fetched image. - EmailAttachment (both in conversationTypes and the local copy in MessageBrowser) gains contentId and inline fields. - SanitizedEmailRenderer accepts inlineImageBaseUrl + inlineContentIds; on cid: imgs it rewrites known cids and hides the rest, with the existing onerror handler still hiding any other broken image. - The dedicated cid stripping that lived in the sanitizer is reverted — rewriting belongs at render time, where the message context exists. - The visible attachments list in ThreadDetailView and MessageBrowser filters out inline parts so embedded signature logos no longer appear as downloadable attachments.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing