You can customize some of the content in emails sent from your GitLab instance.
Custom logo
The logo in the header of some emails can be customized, see the logo customization section.
Custom additional text (PREMIUM ONLY)
Introduced in GitLab Premium 10.7.
The additional text will appear at the bottom of any email and can be used for legal/auditing/compliance reasons.
- Go to Admin Area > Settings > Preferences (
/admin/application_settings/preferences
). - Expand the Email section.
- Enter your text in the Additional text field.
- Click Save.
Custom hostname for private commit emails
Introduced in GitLab 11.5.
This configuration option sets the email hostname for private commit emails.
By default it is set to users.noreply.YOUR_CONFIGURED_HOSTNAME
.
In order to change this option:
- Go to Admin Area > Settings > Preferences (
/admin/application_settings/preferences
). - Expand the Email section.
- Enter the desire hostname in the Custom hostname (for private commit emails) field.
- Click Save changes.
NOTE: Note:
Once the hostname gets configured, every private commit email using the previous hostname, will not get
recognized by GitLab. This can directly conflict with certain Push rules such as
Check whether author is a GitLab user
and Check whether committer is the current authenticated user
.