Skip to content

Add bulk_import_complete email template

What does this MR do and why?

Add HTML and text templates for emails sent when "Import group by direct transfer" is completed.

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 Email
HTML Bulk_import_completed_email_HTML
Text Bulk_import_completed_email_text

How to set up and validate locally

  1. (If you haven't used "Import by direct transfer" previously) Create at least 1 import:

    1. On the left sidebar, at the top, select Create new... (+) and New group. Then select Import group.
    2. In GitLab source instance base URL, enter your GDK URL. For example, http://127.0.0.1:3000.
    3. In Personal access token, enter a token from your GDK.
    4. Select Connect instance.
    5. Start an import from any group to any destination group.
  2. Checkout the branch and restart GDK (️ Important: Restarting is needed to view the email previews as they seem to be cached).

  3. Go to http://127.0.0.1:3000/rails/mailers and preview the email template bulk_import_complete. For example:

  • HTML: http://127.0.0.1:3000/rails/mailers/notify/bulk_import_complete.html
  • Text: http://127.0.0.1:3000/rails/mailers/notify/bulk_import_complete.txt?locale=en

Related to #458115

Merge request reports