@property
def parts(self):
    payload = self.mime.get_payload()
    if (not isinstance(payload, list)):
        raise TypeError
    return [mimetest(k) for k in payload]
@property
def parts(self):
    payload = self.mime.get_payload()
    if (not isinstance(payload, list)):
        raise TypeError
    return [mimetest(k) for k in payload]