diff --git a/email_handler.py b/email_handler.py index 50f4d36b..ffa819f3 100644 --- a/email_handler.py +++ b/email_handler.py @@ -728,6 +728,7 @@ def handle_bounce(contact: Contact, alias: Alias, msg: Message, user: User): db.session.flush() email_log.refused_email_id = refused_email.id + email_log.bounced_mailbox_id = mailbox.id db.session.commit() LOG.d("Create refused email %s", refused_email)