diff --git a/email_handler.py b/email_handler.py index ba546800..fb39fabc 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1089,7 +1089,7 @@ def handle_reply(envelope, msg: Message, rcpt_to: str) -> (bool, str): mailbox.email, f"Email cannot be sent to {contact.email} from {alias.email}", render( - "transactional/reply-error.txt", + "transactional/reply-error.txt.jinja2", user=user, alias=alias, contact=contact, diff --git a/templates/emails/transactional/reply-error.txt b/templates/emails/transactional/reply-error.txt.jinja2 similarity index 100% rename from templates/emails/transactional/reply-error.txt rename to templates/emails/transactional/reply-error.txt.jinja2