Avoid sending SaaS Subscription update mailer for QSR purchases
Problem
We recently implemented a new SaaS subscription update purchase mailer: #5058 (closed)
In validating the voucher emails were working (established in #5959 (closed)), I noticed these mailers are being sent for completed QSRs. We already have a separate mailer sent for completion of a successful QSR, so that means the customer is receiving duplicate emails.
Proposal
Add logic to prevent sending the SaaS Subscription Update mailer if update type is QSR.
Result
- If a customer completes a QSR for a Gitlab.com subscription, they receive the QSR completed mailer only.
- If a customer completes a separate subscription update or seat purchase for a GitLab.com subscription with a linked namespace, they receive the subscription update mailer.