diff options
-rw-r--r-- | service/app/adapter/pixelated_mail.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/app/adapter/pixelated_mail.py b/service/app/adapter/pixelated_mail.py index 99ba1ba8..80ed2401 100644 --- a/service/app/adapter/pixelated_mail.py +++ b/service/app/adapter/pixelated_mail.py @@ -40,6 +40,8 @@ class PixelatedMail: temporary_headers = {} for header, value in self.leap_mail.hdoc.content['headers'].items(): temporary_headers[header.lower()] = value + if(temporary_headers.get('to') is not None): + temporary_headers['to'] = [temporary_headers['to']] return temporary_headers def extract_tags(self): |