makeplane/plane

[bug]: Broken Link to Profile Image in Notification Emails

Closed this issue · 3 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I receive a notification email the users profile photo does not appear. The link to the image is broken. The image src tag reads: <img src="https://[self-hosted-plane-instance-url]None"/> and therefore is shown.

I expect the users profile photo to appear in the email or, if the user has no profile photo, a circle w/ the first letter of their name inside it.

Screenshot 2024-11-14 at 12 39 13 PM

Steps to reproduce

  1. Received a Plane notification email

Environment

Production

Browser

Google Chrome

Variant

Self-hosted

Version

v1.4.0

Hey @leedsjb, thanks for pointing out this bug, we'll look into the issue and fix it with our upcoming release.

@aaryan610 v1.6.0 made progress towards resolving this issue - but we're not all the way there. May I DM you the raw content of the email for further debugging?

@aaryan610 I figured out the problem - it has to do with Gmail's image proxy service. Because the profile photos are hosted in our Plane self-hosted instance and this instances is not accessible on the internet Google has no way to retrieve the images and display them. The solution to this for companies using Google Workspace is disable image proxying in Gmail for images that are hosted in Plane by providing the URL.

I suggest you add this to the Plane documentation here: https://developers.plane.so/self-hosting/govern/communication

The relevant Google documentation is here: https://support.google.com/a/answer/3299041?hl=en