ardzy
ardzy

Reputation: 69

`Images in this message are hidden. This message might be suspicious or spam.` in gmail when sending transactional email with resend/react email

enter image description here

I'm experiencing an issue with Gmail hiding images in transactional emails sent through Resend, despite having proper DNS configuration and verification.

Setup:

Issue: When Gmail users receive the transactional emails, images are hidden by default with the message:

"Images in this message are hidden. This message might be suspicious or spam."

Important Details:

Example Email Template:

<Img
  src={`${getBaseUrl()}/logo.png`}
  width="146"
  height="40"
  alt="Company Logo"
  title="Company Logo"
/>

I tried:

  1. Following Resend's documentation for proper DNS setup and domain authentication (SPF, DKIM, DMARC)
  2. Verifying the image URL matches the sending domain
  3. Setting proper image dimensions and alt/title tags
  4. Ensuring image is served over HTTPS
  5. Checking Resend's dashboard insights which show all green checks for email deliverability

Expected behavior:

Actual behavior:

Upvotes: 2

Views: 254

Answers (0)

Related Questions