doc/administration/settings/email.md
{{< details >}}
{{< /details >}}
You can customize some of the content in emails sent from your GitLab instance.
The logo in the header of some emails can be customized, see the logo customization section.
{{< details >}}
{{< /details >}}
By default, GitLab overrides the email address in notification emails with the email address of the issue, merge request, or comment author. Enable this setting to include the author's email address in the body of the email instead.
Prerequisites:
To include the author's email address in the email body:
{{< details >}}
{{< /details >}}
GitLab can send email in multipart format (HTML and plain text) or plain text only.
To enable multipart email:
{{< details >}}
{{< /details >}}
This configuration option sets the email hostname for private commit emails.
By default it is set to users.noreply.YOUR_CONFIGURED_HOSTNAME.
To change the hostname used in private commit emails:
[!note] After the hostname is configured, every private commit email using the previous hostname is not recognized by GitLab. This can directly conflict with certain push rules such as
Check whether author is a GitLab userandCheck whether committer is the current authenticated user.
{{< details >}}
{{< /details >}}
You can add additional text at the bottom of any email that GitLab sends. This additional text can be used for legal, auditing, or compliance reasons, for example.
To add additional text to emails:
GitLab sends email notifications to users when their account has been deactivated.
To disable these notifications:
{{< history >}}
deactivation_email_additional_text. Disabled by default.deactivation_email_additional_text removed.{{< /history >}}
You can add additional text at the bottom of the email that GitLab sends to users when their account is deactivated. This email text is separate from the custom additional text setting.
To add additional text to deactivation emails:
{{< history >}}
pat_expiry_inherited_members_notification. Disabled by default.pat_expiry_inherited_members_notification enabled by default in GitLab 17.10.pat_expiry_inherited_members_notification removed in GitLab 17.11{{< /history >}}
In GitLab 17.7 and later, the following inherited group and project members can receive emails about group and project access tokens that are expiring soon, in addition to direct group and project members:
To enable token expiration emails to inherited group and project members:
For more information on token expiration emails, see: