Content-Type: multipart/mixed; boundary="a--"

--a--
Content-Type: multipart/mixed; boundary="a----"

--a----
Content-Type: text/plain

body
--a------
Content-Type: text/html

body2
--a----
---- EXPECTED STRUCTURE ----
{
  "headers": {
    "values": {
      "content_type": {
        "ContentType": {
          "c_type": "multipart",
          "c_subtype": "mixed",
          "attributes": {
            "boundary": "a--"
          }
        }
      }
    },
    "offsets": [
      {
        "name": {
          "Rfc": "content_type"
        },
        "start": 13,
        "end": 46
      }
    ]
  },
  "html_body": [
    1
  ],
  "text_body": [
    1
  ],
  "parts": [
    {
      "Multipart": {
        "values": {
          "content_type": {
            "ContentType": {
              "c_type": "multipart",
              "c_subtype": "mixed",
              "attributes": {
                "boundary": "a----"
              }
            }
          }
        },
        "offsets": [
          {
            "name": {
              "Rfc": "content_type"
            },
            "start": 66,
            "end": 101
          }
        ]
      }
    },
    {
      "Text": {
        "headers": {
          "values": {
            "content_type": {
              "ContentType": {
                "c_type": "text",
                "c_subtype": "plain"
              }
            }
          },
          "offsets": [
            {
              "name": {
                "Rfc": "content_type"
              },
              "start": 123,
              "end": 135
            }
          ]
        },
        "contents": "body",
        "is_html": false
      }
    }
  ],
  "structure": {
    "MultiPart": [
      0,
      [
        {
          "Part": 1
        }
      ]
    ]
  },
  "offset_header": 0,
  "offset_body": 47,
  "offset_end": 189
}