Skip to content

Conversation

@ardelato
Copy link
Collaborator

Description

This updates the Mail env vars to work with SendGrid. We needed the MAIL_ENCRYPTION, MAIL_FROM_ADDRESS, and MAIL_FROM_NAME to get the app working with SendGrid.

This also updates the Helm Chart to now include the new Mail env vars in the values.yaml file and extracts the Mailer credentials to a Secret.

QA Notes

I already tested the env vars change in the test cluster but I have not tested the changes to the Helm Chart. As such, we will need to target this branch in the test ArgoCD app to confirm the changes worked.

ardelato added 2 commits June 26, 2025 15:23
Updated the email settings in .env.base and .env.template to replace
MAIL_SCHEME with MAIL_ENCRYPTION, and added MAIL_FROM_ADDRESS and
MAIL_FROM_NAME.

These changes are necessary to use SendGrid as the mailer.
Lets use a secret for the mailer credentials.
@ardelato
Copy link
Collaborator Author

QA 👍 I confirmed the new Helm Chart settings work and we can send emails through SendGrid

Copy link
Member

@mlahargou mlahargou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR 📱

MAIL_PASSWORD=null
MAIL_SCHEME=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=noreply@restarters.test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, is this a real address?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah we're good. The .test domains are reserved https://en.wikipedia.org/wiki/.test

@ardelato ardelato merged commit 5f2416c into hermes Jul 1, 2025
@ardelato ardelato deleted the chore--update-mailer-envs branch July 1, 2025 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants