hcb icon indicating copy to clipboard operation
hcb copied to clipboard

Dynamically show receipt upload status in emails

Open zachlatta opened this issue 11 months ago • 3 comments

Describe the problem

I often make purchases on the go.

When I make a purchase, I get both an SMS text and an email asking for a receipt.

I usually upload receipts via SMS immediately.

Later, when I check my email, I go through all my transaction emails.

When I see a HCB transaction email I made on the go, I can’t remember if I already uploaded the receipt via SMS or not.

I wish it could dynamically show me the current status of my upload in the email by having an embedded PNG that would update depending on receipt status.

I picture this as showing “Green Checkmark - Receipt uploaded!”

Or “Red - Still need receipt”

Describe the feature/solution (optional)

No response

zachlatta avatar Mar 20 '25 03:03 zachlatta

Great idea! I believe email providers like GMail cache images and only requests them from the host server once. This is largely to prevent pixel tracking.

As an alternative, Google developed AMP emails which is used in a handful of google products (e.g. replying to comments notifications from google doc).

https://amp.dev/about/email/

garyhtou avatar Mar 20 '25 03:03 garyhtou

I’m not 100% sure, but I think Gmail just proxies - not caches - images. Pixel tracking works Gmail


From: Gary Tou @.> Sent: Wednesday, March 19, 2025 11:21:51 PM To: hackclub/hcb @.> Cc: Zach Latta @.>; Author @.> Subject: Re: [hackclub/hcb] Dynamically show receipt upload status in emails (Issue #9925)

Great idea! I believe email providers like GMail cache images and only requests them from the host server once. This is largely to prevent pixel tracking.

As an alternative, Google developed AMP emails which is used in a handful of google products (e.g. replying to comments notifications from google doc).

https://amp.dev/about/email/

— Reply to this email directly, view it on GitHubhttps://github.com/hackclub/hcb/issues/9925#issuecomment-2739030747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHSH6BZBE2RZCSVXTGQ2U32VIX47AVCNFSM6AAAAABZML3U2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMZZGAZTANZUG4. You are receiving this because you authored the thread.Message ID: @.***>

[garyhtou]garyhtou left a comment (hackclub/hcb#9925)https://github.com/hackclub/hcb/issues/9925#issuecomment-2739030747

Great idea! I believe email providers like GMail cache images and only requests them from the host server once. This is largely to prevent pixel tracking.

As an alternative, Google developed AMP emails which is used in a handful of google products (e.g. replying to comments notifications from google doc).

https://amp.dev/about/email/

— Reply to this email directly, view it on GitHubhttps://github.com/hackclub/hcb/issues/9925#issuecomment-2739030747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHSH6BZBE2RZCSVXTGQ2U32VIX47AVCNFSM6AAAAABZML3U2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMZZGAZTANZUG4. You are receiving this because you authored the thread.Message ID: @.***>

zachlatta avatar Mar 20 '25 03:03 zachlatta

I did a test - yep, Gmail updates them.

Image Image Image Image

sampoder avatar Mar 20 '25 04:03 sampoder