Content-Type: multipart/mixed; boundary="1"
MIME-Version: 1.0

--1
Content-Type: text/plain

hello, world
--1
Content-Type: multipart/mixed; boundary="1"
MIME-Version: 2.0

--1
Content-Type: text/plain

hello, world
--1
Content-Type: multipart/mixed; boundary="1"
MIME-Version: abc

--1
Content-Type: text/plain

hello, world
--1
Content-Type: multipart/mixed; boundary="1"
MIME-Version:

--1
Content-Type: text/plain

hello, world
--1

---- EXPECTED STRUCTURE ----{
  "html_body": [
    1,
    3,
    5,
    7
  ],
  "text_body": [
    1,
    3,
    5,
    7
  ],
  "attachments": [],
  "parts": [
    {
      "headers_rfc": {
        "mime_version": {
          "Text": "1.0"
        },
        "content_type": {
          "ContentType": {
            "c_type": "multipart",
            "c_subtype": "mixed",
            "attributes": {
              "boundary": "1"
            }
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 13,
            "end": 44
          }
        ],
        [
          {
            "Rfc": "mime_version"
          },
          {
            "start": 57,
            "end": 62
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Multipart": [
          1,
          2
        ]
      },
      "offset_header": 0,
      "offset_body": 63,
      "offset_end": 436
    },
    {
      "headers_rfc": {
        "content_type": {
          "ContentType": {
            "c_type": "text",
            "c_subtype": "plain",
            "attributes": null
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 80,
            "end": 92
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Text": "hello, world"
      },
      "offset_header": 67,
      "offset_body": 93,
      "offset_end": 106
    },
    {
      "headers_rfc": {
        "mime_version": {
          "Text": "2.0"
        },
        "content_type": {
          "ContentType": {
            "c_type": "multipart",
            "c_subtype": "mixed",
            "attributes": {
              "boundary": "1"
            }
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 123,
            "end": 154
          }
        ],
        [
          {
            "Rfc": "mime_version"
          },
          {
            "start": 167,
            "end": 172
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Multipart": [
          3,
          4
        ]
      },
      "offset_header": 110,
      "offset_body": 173,
      "offset_end": 436
    },
    {
      "headers_rfc": {
        "content_type": {
          "ContentType": {
            "c_type": "text",
            "c_subtype": "plain",
            "attributes": null
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 190,
            "end": 202
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Text": "hello, world"
      },
      "offset_header": 177,
      "offset_body": 203,
      "offset_end": 216
    },
    {
      "headers_rfc": {
        "mime_version": {
          "Text": "abc"
        },
        "content_type": {
          "ContentType": {
            "c_type": "multipart",
            "c_subtype": "mixed",
            "attributes": {
              "boundary": "1"
            }
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 233,
            "end": 264
          }
        ],
        [
          {
            "Rfc": "mime_version"
          },
          {
            "start": 277,
            "end": 282
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Multipart": [
          5,
          6
        ]
      },
      "offset_header": 220,
      "offset_body": 283,
      "offset_end": 436
    },
    {
      "headers_rfc": {
        "content_type": {
          "ContentType": {
            "c_type": "text",
            "c_subtype": "plain",
            "attributes": null
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 300,
            "end": 312
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Text": "hello, world"
      },
      "offset_header": 287,
      "offset_body": 313,
      "offset_end": 326
    },
    {
      "headers_rfc": {
        "content_type": {
          "ContentType": {
            "c_type": "multipart",
            "c_subtype": "mixed",
            "attributes": {
              "boundary": "1"
            }
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 343,
            "end": 374
          }
        ],
        [
          {
            "Rfc": "mime_version"
          },
          {
            "start": 387,
            "end": 388
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Multipart": [
          7
        ]
      },
      "offset_header": 330,
      "offset_body": 389,
      "offset_end": 436
    },
    {
      "headers_rfc": {
        "content_type": {
          "ContentType": {
            "c_type": "text",
            "c_subtype": "plain",
            "attributes": null
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 406,
            "end": 418
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Text": "hello, world"
      },
      "offset_header": 393,
      "offset_body": 419,
      "offset_end": 432
    }
  ]
}