diff --git a/mail.py b/mail.py index af499fc..ae641a4 100644 --- a/mail.py +++ b/mail.py @@ -74,7 +74,7 @@ def translate_message(self, msg): # If there's just a plain text body, use that, otherwise # iterate over all the attachments - payload = msg.get_payload() + payload = msg.get_payload(decode=True) if isinstance(payload, basestring): message.body = payload else: