Email sent from gitlab are both styled and plain text

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Summary

On different events, when email notification is being sent from gitlab, emails associated with some specific events are well designed (with proper CSS and colour) but events associated with other events are just in plain text.

The emails associated with the events listed below are formatted with proper colours

  • Merge request approval
  • Pipeline failure
  • Pipeline success
  • Pipeline fix
  • Merge when pipeline success
  • Sign in from new location (check "Example Screenshot" below for screenshot)

The emails associated with the events listed below are in plain test

  • Create MR
  • Commit in MR,
  • Merge of MR
  • Change reviewer to MR
  • Re-assign MR
  • New epic creation
  • New release
  • New Issue, close issue, reopen issue, reassign issue
  • Moved project (CSS formatting is there without coloured header and footer) (check "Example Screenshot" below for screenshot)

Steps I followed to verify

From gitlab admin settings first I ensure that Enable multipart emails option is checked, which is responsible for sending the emails with css, later enable email notification for all the events by configuring notification level, and trigger events manually to check the email formatting associated.

Example Screenshot

Formatted email

Screenshot_2022-02-08_at_11.24.27_AM

Plain text email Screenshot_2022-02-08_at_11.30.25_AM

Improvements

All the email notification sent from gitlab will be consistent in terms of design.

Risks

It's improvement from email appearance point of view, there should not be any risks.

typemaintenance

Edited Sep 27, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading