Skip to content

Change unsubscribe language for email campaign

What does this MR do?

This changes the text to unsubscribe from in-product marketing emails on self managed, moves up the unsubscribe link in the email and adds a link to the general marketing preferences.

Issue: gitlab-org/growth/product#1681 (closed) (note that the issue states it is only about "CREATE Emails", but the header/unsubscribe text changes need to affect all emails.

How to test locally

  1. bin/rails c
  2. NotificationService.new.in_product_marketing(User.first.id, Group.first.id, :create, 0)
  3. Go to http://localhost:3000/rails/letter_opener/

Screenshots (strongly suggested)

before after
Screen_Shot_2021-04-12_at_20.16.12 Screen_Shot_2021-04-12_at_20.15.27

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Nicolas Dular

Merge request reports