Skip to content

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:

  1. http://localhost:3000/rails/mailers/notify/pipeline_success_email
  2. http://localhost:3000/rails/mailers/notify/pipeline_failed_email
  3. 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.

Related to #16507 (closed)

Edited by Heinrich Lee Yu

Merge request reports