From 7fef27e6de1acfd28f5f08f0bfc53ad1985cbd36 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Mon, 11 Jan 2021 16:16:39 +0100 Subject: [PATCH] fixes #305 --- src/paperless_mail/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless_mail/mail.py b/src/paperless_mail/mail.py index e848af28a..e1916c1dd 100644 --- a/src/paperless_mail/mail.py +++ b/src/paperless_mail/mail.py @@ -199,7 +199,7 @@ class MailAccountHandler(LoggingMixin): try: messages = M.fetch(criteria=AND(**criterias), - mark_seen=False) + mark_seen=False, charset='UTF-8') except Exception: raise MailError( f"Rule {rule}: Error while fetching folder {rule.folder}")