Use the To header when sending pipeline emails
What does this MR do and why?
A missing To header can cause issues with spam filters. And since we no longer render job logs in these emails, generating these emails individually isn't expensive anymore.
This also adds validation for pipeline emails integrations.
How to set up and validate locally
You can checkout the mailer previews at:
- http://localhost:3000/rails/mailers/notify/pipeline_success_email
- http://localhost:3000/rails/mailers/notify/pipeline_failed_email
- http://localhost:3000/rails/mailers/notify/pipeline_fixed_email
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #16507 (closed)
Edited by Heinrich Lee Yu