@property
def payload(self):
    payload = self.mime.get_payload().encode((self.encoding or 'ascii'))
    if (self.transfer_encoding == 'base64'):
        return b64decode(payload)
    return payload
@property
def payload(self):
    payload = self.mime.get_payload().encode((self.encoding or 'ascii'))
    if (self.transfer_encoding == 'base64'):
        return b64decode(payload)
    return payload