Add email templates for bulk_import user mapping with CSV
requested to merge 458841-user-mapping-send-email-when-csv-processing-finished-templates into master
What does this MR do and why?
Add HTML and text templates for emails sent when the CSV user mapping is completed. There are 2 versions of the email (with slightly different copy):
- Success: When there are no errors and all placeholder users were assigned.
- Failed: When there are errors and some placeholder users were not assigned.
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
Version | Success | Failed |
---|---|---|
HTML | ||
Text |
How to set up and validate locally
- Checkout the branch and restart GDK (
⚠ ️ Important: Restarting is needed to view the email previews as they seem to be cached). - Go to
http://127.0.0.1:3000/rails/mailers
and preview the 2 email templates:
-
bulk_import_csv_user_mapping_success
:http://127.0.0.1:3000/rails/mailers/notify/bulk_import_csv_user_mapping_success.html?locale=en
-
bulk_import_csv_user_mapping_failed
:http://127.0.0.1:3000/rails/mailers/notify/bulk_import_csv_user_mapping_failed.html?locale=en
Related to #458841