diff --git a/src/paperless_mail/mail.py b/src/paperless_mail/mail.py index e7991e25b..3896a9348 100644 --- a/src/paperless_mail/mail.py +++ b/src/paperless_mail/mail.py @@ -73,7 +73,7 @@ class TagMailAction(BaseMailAction): def post_consume(self, M: MailBox, message_uids, parameter): if re.search(r"gmail\.com$|googlemail\.com$", M._host): for uid in message_uids: - M.client.uid("STORE", uid, 'X-GM-LABELS', self.keyword) + M.client.uid("STORE", uid, "X-GM-LABELS", self.keyword) else: M.flag(message_uids, [self.keyword], True)