coder / coder/internal

bug: logo does not load automatically in email template

Open
#24 6 comments 0 reactions 0 assignees View on GitHub
project/notifications
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Previously I tried to embed our logo in the SMTP email template, but it was not supported in Gmail.

Currently we link to the logo in the template.
https://github.com/coder/coder/blob/main/coderd/notifications/dispatch/smtp/html.gotmpl#L11

@mafredri suggested there may be other approaches to embedding images such as [CIDs](https://datatracker.ietf.org/doc/html/rfc2392). [This article](https://sendgrid.com/en-us/blog/embedding-images-emails-facts) from SendGrid (Apr 2024) suggests that CIDs may not work in Gmail reliably, but it's worth trying - or using multiple techniques together.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.