MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="bound"

mime header

--bound
Content-Transfer-Encoding: base64
Content-Type: text/plain

d2UgaGF2ZQ1hIGxvdCAKb2YgAGJpbmFyeSBzdHVmZiBpbiBoZXJlCmIgYWRqaWcgc2FkamcgamFz
aWRnamlhZWhnYTN3aHQ4YTN3OGdoeGpjIGRzZ2FkIGhhc2RnaHNkIGdhc2QgZHNqZHNvZ2Egc2pk
Z2EwdzN0amhhd2pnc2VydG5pcTNuNW9xZXJqcXcycjg5cTIzaCBhd2hycWg4MzVyOGE=
--bound
Content-Type: text/plain
Content-Transfer-Encoding: base64

ZWg=
--bound--

---- EXPECTED STRUCTURE ----
{
  "header": {
    "mime_version": "1.0",
    "content_type": {
      "c_type": "multipart",
      "c_subtype": "alternative",
      "attributes": {
        "boundary": "bound"
      }
    }
  },
  "html_body": [
    {
      "contents": "<html><body>we havea lot <br/>of \u0000binary stuff in here<br/>b adjig sadjg jasidgjiaehga3wht8a3w8ghxjc dsgad hasdghsd gasd dsjdsoga sjdga0w3tjhawjgsertniq3n5oqerjqw2r89q23h awhrqh835r8a</body></html>"
    },
    {
      "contents": "<html><body>eh</body></html>"
    }
  ],
  "text_body": [
    {
      "header": {
        "content_transfer_encoding": "base64",
        "content_type": {
          "c_type": "text",
          "c_subtype": "plain"
        }
      },
      "contents": "we have\ra lot \nof \u0000binary stuff in here\nb adjig sadjg jasidgjiaehga3wht8a3w8ghxjc dsgad hasdghsd gasd dsjdsoga sjdga0w3tjhawjgsertniq3n5oqerjqw2r89q23h awhrqh835r8a"
    },
    {
      "header": {
        "content_transfer_encoding": "base64",
        "content_type": {
          "c_type": "text",
          "c_subtype": "plain"
        }
      },
      "contents": "eh"
    }
  ]
}