KamoCRM

Render inline cid: images via the new EmailService endpoint

Featurekamo-internal
Shipped
9 மே, 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing