diff --git a/superset/reports/notifications/email.py b/superset/reports/notifications/email.py
index ff3f816ddbf..d8663774ac1 100644
--- a/superset/reports/notifications/email.py
+++ b/superset/reports/notifications/email.py
@@ -76,7 +76,7 @@ class EmailNotification(BaseNotification): # pylint: disable=too-few-public-met
""",
description=self._content.description or "",
url=self._content.url,
- img_tag='
'.format(msgid)
+ img_tag='
'.format(msgid)
if self._content.screenshot
else "",
)