Add first draft implementation, test broken.

This commit is contained in:
Oliver Rümpelein
2022-05-25 19:22:50 +02:00
parent ce3f6837e9
commit 5a809d7e31
3 changed files with 56 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ class MailRule(models.Model):
MOVE = 2, _("Move to specified folder")
MARK_READ = 3, _("Mark as read, don't process read mails")
FLAG = 4, _("Flag the mail, don't process flagged mails")
TAG = 5, _("Tag the mail with specified tag, don't process tagged mails")
class TitleSource(models.IntegerChoices):
FROM_SUBJECT = 1, _("Use subject as title")