Browse Source

send at max 1 email / day for the cycle email issue

Son NK 5 years ago
parent
commit
bb6e2a35ca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      email_handler.py

+ 1 - 0
email_handler.py

@@ -408,6 +408,7 @@ def handle_email_sent_to_ourself(alias, mailbox, msg: Message, user):
             mailbox=mailbox,
             mailbox=mailbox,
             refused_email_url=refused_email_url,
             refused_email_url=refused_email_url,
         ),
         ),
+        max_alert_24h=1,
     )
     )