diff --git a/emails/templates/partials/alerting/grouping_labels.mjml b/emails/templates/partials/alerting/grouping_labels.mjml
index 629351abbb0..51a78147d9c 100644
--- a/emails/templates/partials/alerting/grouping_labels.mjml
+++ b/emails/templates/partials/alerting/grouping_labels.mjml
@@ -8,9 +8,9 @@
📁 {{ .GroupLabels.grafana_folder }} › {{ .GroupLabels.alertname }}
- {{ else }}
+ {{ else if gt (len .GroupLabels.SortedPairs) 0 }}
-
+
📁 Grouped by
diff --git a/public/emails/ng_alert_notification.html b/public/emails/ng_alert_notification.html
index 6945666e5eb..43fabdb6787 100644
--- a/public/emails/ng_alert_notification.html
+++ b/public/emails/ng_alert_notification.html
@@ -193,7 +193,7 @@
- {{ else }}
+ {{ else if gt (len .GroupLabels.SortedPairs) 0 }}
|