135
135
if part.get_content_type() == 'text/plain']
136
136
message['body'] = '\n\n'.join(text_parts)
137
137
elif (display_type == 'all'
139
138
and isinstance(message['body'], list)):
140
139
parts = [str(part.get_payload()) for part in message['body']]
141
140
message['body'] = '\n\n'.join(parts)