diff options
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/adapter/mail.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/pixelated/adapter/mail.py b/service/pixelated/adapter/mail.py index 24ee797d..52a0a2e8 100644 --- a/service/pixelated/adapter/mail.py +++ b/service/pixelated/adapter/mail.py @@ -81,7 +81,8 @@ class Mail: 'status': list(self.status), 'security_casing': {}, 'body': self.body, - 'mailbox': self.mailbox_name.lower() + 'mailbox': self.mailbox_name.lower(), + 'attachments': self.parts['attachments'] if self.parts else [] } |