My current GitLab email filter rules as of 2026.09

@mradcliffe@nokoto.org

Emails from GitLab, like most software project planning software, are annoyingly generic and do not have a robust and granular notification system, which makes it difficult to figure out the importance of the notification. It is very annoying that software require configuring email filters for controlling their spam, and if you have to use more than one system, the burden increases. And yes, we all probably have to use GitLab, GitHub, Codeberg, Azure DevOps, Jira, and of course all the other software that sends useless emails disguised as important emails.

I have two GitLab email filters:

  1. GitLab spam—Emails from GitLab for which the notification ding(s) will cause me stress and anxiety over nothing because these emails are unimportant.
  2. GitLab notification—Emails from GitLab for which the notification ding(s) will cause me stress and anxiety, but it is probably important for me to read the email.

So my current filter setup is the following

GitLab spam

ANY of the following:

  • Self-Defined Header (X-GitLab-Pipeline-Status) Exists
  • Body Contains “removed as an assignee”

Delete message

GitLab notification

I am hoping that X-GitLab-Discussion-ID will help isolate actual user content rather than label, status, and assignee spam, but maybe X-Origin-Message-Id containing “<note_” would work too.

ANY of the following:

  • Self-Defined Header (X-GitLab-NotificationReason) Is “mentioned”
  • Self-Defined Header (X-GitLab-Discussion-ID) Exists

Flag this message as Flagged