Skip to content

Add SubscriptionMailer for seat overages

Josianne Hyson requested to merge jh-member_overage_mailer into master

What does this MR do and why?

Addresses: #349803 (closed)

Add a mailer that can be triggered when the user adds a member to a group, and goes over their purchased seat capacity. This MR will be followed up in https://gitlab.com/gitlab-org/gitlab/-/issues/348487 which will actually trigger the sending of the email.

Screenshots or screen recordings

Screen_Shot_2022-01-26_at_9.36.55_AM

How to set up and validate locally

This can be previewed using the mailer preview at http://localhost:3000/rails/mailers/gitlab_subscriptions/seat_usage_mailer/exceeded_purchased_seats.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Josianne Hyson

Merge request reports

Loading