@ -57,7 +57,7 @@ def send_mail(subject: str, body: str) -> None:
msg["Message-ID"] = make_msgid()
# Add extra mail headers
for header, value in config.getattr("MAIL_HEADERS", []):
for header, value in config.MAIL_HEADERS:
msg[header] = value
msg.set_content(body)