diff --git a/email_handler.py b/email_handler.py index 7ee1fc98..00608592 100644 --- a/email_handler.py +++ b/email_handler.py @@ -120,6 +120,7 @@ class MailHandler: email=alias, user_id=custom_domain.user_id, custom_domain_id=custom_domain.id, + automatic_creation=True, ) db.session.commit() else: