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 ----
{
  "headers": {
    "values": {
      "content_type": {
        "ContentType": {
          "c_type": "multipart",
          "c_subtype": "mixed",
          "attributes": {
            "boundary": "1"
          }
        }
      },
      "mime_version": {
        "Text": "1.0"
      }
    },
    "offsets": [
      {
        "name": {
          "Rfc": "content_type"
        },
        "start": 13,
        "end": 44
      },
      {
        "name": {
          "Rfc": "mime_version"
        },
        "start": 57,
        "end": 62
      }
    ]
  },
  "html_body": [
    0,
    2,
    4,
    6
  ],
  "text_body": [
    0,
    2,
    4,
    6
  ],
  "parts": [
    {
      "Text": {
        "headers": {
          "values": {
            "content_type": {
              "ContentType": {
                "c_type": "text",
                "c_subtype": "plain"
              }
            }
          },
          "offsets": [
            {
              "name": {
                "Rfc": "content_type"
              },
              "start": 80,
              "end": 92
            }
          ]
        },
        "contents": "hello, world",
        "is_html": false
      }
    },
    {
      "Multipart": {
        "values": {
          "content_type": {
            "ContentType": {
              "c_type": "multipart",
              "c_subtype": "mixed",
              "attributes": {
                "boundary": "1"
              }
            }
          },
          "mime_version": {
            "Text": "2.0"
          }
        },
        "offsets": [
          {
            "name": {
              "Rfc": "content_type"
            },
            "start": 123,
            "end": 154
          },
          {
            "name": {
              "Rfc": "mime_version"
            },
            "start": 167,
            "end": 172
          }
        ]
      }
    },
    {
      "Text": {
        "headers": {
          "values": {
            "content_type": {
              "ContentType": {
                "c_type": "text",
                "c_subtype": "plain"
              }
            }
          },
          "offsets": [
            {
              "name": {
                "Rfc": "content_type"
              },
              "start": 190,
              "end": 202
            }
          ]
        },
        "contents": "hello, world",
        "is_html": false
      }
    },
    {
      "Multipart": {
        "values": {
          "mime_version": {
            "Text": "abc"
          },
          "content_type": {
            "ContentType": {
              "c_type": "multipart",
              "c_subtype": "mixed",
              "attributes": {
                "boundary": "1"
              }
            }
          }
        },
        "offsets": [
          {
            "name": {
              "Rfc": "content_type"
            },
            "start": 233,
            "end": 264
          },
          {
            "name": {
              "Rfc": "mime_version"
            },
            "start": 277,
            "end": 282
          }
        ]
      }
    },
    {
      "Text": {
        "headers": {
          "values": {
            "content_type": {
              "ContentType": {
                "c_type": "text",
                "c_subtype": "plain"
              }
            }
          },
          "offsets": [
            {
              "name": {
                "Rfc": "content_type"
              },
              "start": 300,
              "end": 312
            }
          ]
        },
        "contents": "hello, world",
        "is_html": false
      }
    },
    {
      "Multipart": {
        "values": {
          "content_type": {
            "ContentType": {
              "c_type": "multipart",
              "c_subtype": "mixed",
              "attributes": {
                "boundary": "1"
              }
            }
          }
        },
        "offsets": [
          {
            "name": {
              "Rfc": "content_type"
            },
            "start": 343,
            "end": 374
          },
          {
            "name": {
              "Rfc": "mime_version"
            },
            "start": 387,
            "end": 388
          }
        ]
      }
    },
    {
      "Text": {
        "headers": {
          "values": {
            "content_type": {
              "ContentType": {
                "c_type": "text",
                "c_subtype": "plain"
              }
            }
          },
          "offsets": [
            {
              "name": {
                "Rfc": "content_type"
              },
              "start": 406,
              "end": 418
            }
          ]
        },
        "contents": "hello, world",
        "is_html": false
      }
    }
  ],
  "structure": {
    "MultiPart": [
      5,
      [
        {
          "Part": 6
        }
      ]
    ]
  },
  "offset_header": 0,
  "offset_body": 63,
  "offset_end": 436
}