Enhancement: disable-able mail rules, add toggle to overview (#7810)

This commit is contained in:
shamoon 2024-09-30 19:42:19 -07:00 committed by GitHub
parent b9c1ba8a1d
commit 991c9b0ca4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 248 additions and 91 deletions

View file

@ -536,6 +536,9 @@ class MailAccountHandler(LoggingMixin):
)
for rule in account.rules.order_by("order"):
if not rule.enabled:
self.log.debug(f"Rule {rule}: Skipping disabled rule")
continue
try:
total_processed_files += self._handle_mail_rule(
M,