diff --git a/src/paperless_mail/mail.py b/src/paperless_mail/mail.py index ca9a3079c..4031f26d0 100644 --- a/src/paperless_mail/mail.py +++ b/src/paperless_mail/mail.py @@ -91,7 +91,7 @@ class TagMailAction(BaseMailAction): def __init__(self, parameter): # The custom tag should look like "apple:" - if "apple" in parameter.lower(): + if "apple:" in parameter.lower(): try: _, self.color = parameter.split(":") self.color = self.color.strip()