Render inline cid: images via the new EmailService endpoint

Featurekamo-internal
Ya
9 Mei 2026, 19:00 UTC
Mwandishi
kamo
Ahadi ya
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.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei