Skip to content

Break Members initial invite emails out into their own mailer

Doug Stull requested to merge 391424-move-member-mailers into master

What does this MR do and why?

Break Members emails out into their own mailer first step in &14118

  • readability, maintainability, remove unnecessary service layer
  • setup the initial invite email first with all the setup code needed. May add other invite emails in subsequent MRs or create a class per invite.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

no change

rails preview letter opener text version
Screenshot_2024-06-10_at_8.25.18_AM Screenshot_2024-06-10_at_9.02.23_AM Screenshot_2024-06-10_at_9.03.11_AM

How to set up and validate locally

Preview at this url path http://gdk.test:3000/rails/mailers/members/invite_mailer and selecting initial_email

and/or...

  1. Go to a project or group and invite someone by email.
  2. Open letter opener http://gdk.test:3000/rails/letter_opener/ and see email.

Related to #437352 (closed)

Edited by Doug Stull

Merge request reports