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

--1
Content-Type: multipart/mixed; boundary="2"

--2
Content-Type: text/plain

1
--2
Content-Type: text/plain

22
--1
Content-Type: text/plain

333

---- EXPECTED STRUCTURE ----
{
  "headers": {
    "values": {
      "content_type": {
        "ContentType": {
          "c_type": "multipart",
          "c_subtype": "mixed",
          "attributes": {
            "boundary": "1"
          }
        }
      }
    },
    "offsets": [
      {
        "name": {
          "Rfc": "content_type"
        },
        "start": 13,
        "end": 44
      }
    ]
  },
  "html_body": [
    1
  ],
  "text_body": [
    1
  ],
  "attachments": [
    {
      "Attachment": 2
    }
  ],
  "parts": [
    {
      "Multipart": {
        "values": {
          "content_type": {
            "ContentType": {
              "c_type": "multipart",
              "c_subtype": "mixed",
              "attributes": {
                "boundary": "2"
              }
            }
          }
        },
        "offsets": [
          {
            "name": {
              "Rfc": "content_type"
            },
            "start": 62,
            "end": 93
          }
        ]
      }
    },
    {
      "Text": {
        "headers": {
          "values": {
            "content_type": {
              "ContentType": {
                "c_type": "text",
                "c_subtype": "plain"
              }
            }
          },
          "offsets": [
            {
              "name": {
                "Rfc": "content_type"
              },
              "start": 111,
              "end": 123
            }
          ]
        },
        "contents": "1",
        "is_html": false
      }
    },
    {
      "Text": {
        "headers": {
          "values": {
            "content_type": {
              "ContentType": {
                "c_type": "text",
                "c_subtype": "plain"
              }
            }
          },
          "offsets": [
            {
              "name": {
                "Rfc": "content_type"
              },
              "start": 143,
              "end": 155
            }
          ]
        },
        "contents": "22\n--1\nContent-Type: text/plain\n\n333\n",
        "is_html": false
      }
    }
  ],
  "structure": {
    "MultiPart": [
      0,
      [
        {
          "Part": 1
        },
        {
          "Part": 2
        }
      ]
    ]
  },
  "offset_header": 0,
  "offset_body": 45,
  "offset_end": 193
}