{ "html_body": [ 1, 2 ], "text_body": [ 1, 2 ], "attachments": [ 3 ], "parts": [ { "headers": [ { "name": "content_type", "value": { "ContentType": { "c_type": "multipart", "c_subtype": "mixed", "attributes": [ [ "boundary", "foo" ] ] } }, "offset_field": 0, "offset_start": 13, "offset_end": 45 } ], "is_encoding_problem": false, "body": { "Multipart": [ 1, 2, 3 ] }, "offset_header": 0, "offset_body": 47, "offset_end": 386 }, { "headers": [ { "name": "content_transfer_encoding", "value": { "Text": "quoted-printable" }, "offset_field": 54, "offset_start": 80, "offset_end": 99 }, { "name": "content_type", "value": { "ContentType": { "c_type": "text", "c_subtype": "plain", "attributes": [ [ "charset", "utf-8" ] ] } }, "offset_field": 99, "offset_start": 112, "offset_end": 140 } ], "is_encoding_problem": false, "body": { "Text": "päivää\r\n" }, "offset_header": 54, "offset_body": 142, "offset_end": 165 }, { "headers": [ { "name": "content_transfer_encoding", "value": { "Text": "base64" }, "offset_field": 174, "offset_start": 200, "offset_end": 209 }, { "name": "content_type", "value": { "ContentType": { "c_type": "text", "c_subtype": "plain", "attributes": [ [ "charset", "utf-8" ] ] } }, "offset_field": 209, "offset_start": 222, "offset_end": 250 } ], "is_encoding_problem": false, "body": { "Text": "yötä vaan.\n�\t�" }, "offset_header": 174, "offset_body": 252, "offset_end": 280 }, { "headers": [ { "name": "content_transfer_encoding", "value": { "Text": "base64" }, "offset_field": 289, "offset_start": 315, "offset_end": 324 }, { "name": "content_type", "value": { "ContentType": { "c_type": "text", "c_subtype": "plain", "attributes": [ [ "charset", "utf-8" ] ] } }, "offset_field": 324, "offset_start": 337, "offset_end": 365 } ], "is_encoding_problem": true, "body": { "Text": "?garbage" }, "offset_header": 289, "offset_body": 367, "offset_end": 375 } ] }