Attachment handling forces the application to exit with the following error:
File "lib/gmail/gmail/message.py", line 171, in fetch
self.parse(results[0])
File "lib/gmail/gmail/message.py", line 164, in parse
self.attachments = [Attachment(attachment) for attachment in self.message._payload if attachment.get('Content-Disposition') is not None]
AttributeError: 'str' object has no attribute 'get'
Attachment handling forces the application to exit with the following error: