Content-Type: message/rfc822

Content-Type: message/rfc822

Content-Type: text/plain

1

---- EXPECTED STRUCTURE ----{
  "html_body": [],
  "text_body": [],
  "attachments": [
    0
  ],
  "parts": [
    {
      "headers_rfc": {
        "content_type": {
          "ContentType": {
            "c_type": "message",
            "c_subtype": "rfc822",
            "attributes": null
          }
        }
      },
      "headers_raw": [
        [
          {
            "Rfc": "content_type"
          },
          {
            "start": 13,
            "end": 29
          }
        ]
      ],
      "is_encoding_problem": false,
      "body": {
        "Message": {
          "html_body": [],
          "text_body": [],
          "attachments": [
            0
          ],
          "parts": [
            {
              "headers_rfc": {
                "content_type": {
                  "ContentType": {
                    "c_type": "message",
                    "c_subtype": "rfc822",
                    "attributes": null
                  }
                }
              },
              "is_encoding_problem": false,
              "body": {
                "Message": {
                  "html_body": [
                    0
                  ],
                  "text_body": [
                    0
                  ],
                  "attachments": [],
                  "parts": [
                    {
                      "headers_rfc": {
                        "content_type": {
                          "ContentType": {
                            "c_type": "text",
                            "c_subtype": "plain",
                            "attributes": null
                          }
                        }
                      },
                      "is_encoding_problem": false,
                      "body": {
                        "Text": "1\n"
                      },
                      "offset_header": 60,
                      "offset_body": 86,
                      "offset_end": 88
                    }
                  ]
                }
              },
              "offset_header": 30,
              "offset_body": 60,
              "offset_end": 88
            }
          ]
        }
      },
      "offset_header": 0,
      "offset_body": 30,
      "offset_end": 88
    }
  ]
}