Repository navigation
fix(email): embed brand logo as CID for Gmail - #559
Merged
Merged
Conversation
Hosted /telemetry-logo.jpg returns 200 but Gmail's Image Proxy often fails behind Cloudflare, showing a broken placeholder. Inline the mark via Resend CID attachment instead of a hotlinked URL. Co-authored-by: Cursor <[email protected]>
6 tasks
unjica
added a commit
that referenced
this pull request
Jul 18, 2026
Release v1.15.9 — email logo CID for Gmail (#559)
FelineFantasy
pushed a commit
to FelineFantasy/telemetry-tracker
that referenced
this pull request
Jul 20, 2026
…emetry-Tracker#559). Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
${TELEMETRY_DASHBOARD_ORIGIN}/telemetry-logo.jpg. That URL returns 200 in a browser, but Gmail rewrites images through Google Image Proxy, which Cloudflare often blocks — resulting in the green mountain broken-image placeholder.cid:tt-brand-logo) so Gmail does not need to fetch the logo from the site.wwwnote indocs/MARKETING-EMAIL.md.Test plan
pnpm lint && pnpm test && pnpm build--test-to=release email after merge/deploy and confirm logo renders in Gmail (not the mountain placeholder)Note
Low Risk
Scoped to email HTML rendering and Resend payload assembly; no auth or data-model changes, with unit test coverage.
Overview
Release and notification email headers no longer hotlink
telemetry-logo.jpgfrom the dashboard origin. They now usecid:tt-brand-logovia a sharedemail-brand-logomodule (compact 112×112 PNG as base64, img tag helper, Resend inline attachment).sendTransactionalEmailgains optional Resend attachments and automatically attaches the brand logo when HTML references that CID (without duplicating if already provided).docs/MARKETING-EMAIL.mddocuments the Gmail Image Proxy / Cloudflare issue, apex vswww, and CID vs hosted URLs.Reviewed by Cursor Bugbot for commit 087168c. Bugbot is set up for automated code reviews on this repo. Configure here.