Enhancement: Allow excluding mail attachments by name (#4691)

* Adds new filtering to exclude attachments from processing

* Frontend use include / exclude mail rule filename filters

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Trenton H
2023-12-02 08:26:19 -08:00
committed by GitHub
parent 1b69b89d2d
commit 6e371ac5ac
14 changed files with 189 additions and 45 deletions

View File

@@ -79,7 +79,8 @@ class MailRuleSerializer(OwnedObjectSerializer):
"filter_to",
"filter_subject",
"filter_body",
"filter_attachment_filename",
"filter_attachment_filename_include",
"filter_attachment_filename_exclude",
"maximum_age",
"action",
"action_parameter",