{
  "mailboxIds": {
    "a": true
  },
  "keywords": {
    "$draft": true,
    "$seen": true
  },
  "receivedAt": "2018-07-10T01:05:08Z",
  "messageId": [
    "my-message-id"
  ],
  "from": [
    {
      "name": "Joe Bloggs",
      "email": "joe@example.com"
    }
  ],
  "to": [
    {
      "name": "John",
      "email": "john@example.com"
    }
  ],
  "subject": "World domination",
  "sentAt": "2018-07-10T01:05:08Z",
  "bodyStructure": {
    "headers": [
      {
        "name": "Date",
        "value": " Tue, 10 Jul 2018 01:05:08 +0000"
      },
      {
        "name": "From",
        "value": " \"Joe Bloggs\" <joe@example.com>"
      },
      {
        "name": "Message-ID",
        "value": " <my-message-id>"
      },
      {
        "name": "Subject",
        "value": " World domination"
      },
      {
        "name": "To",
        "value": " \"John\" <john@example.com>"
      },
      {
        "name": "MIME-Version",
        "value": " 1.0"
      },
      {
        "name": "Content-Type",
        "value": " multipart/alternative; \r\n\tboundary=\"boundary_0\""
      }
    ],
    "type": "multipart/alternative",
    "subParts": [
      {
        "partId": "1",
        "blobId": "blob_0",
        "size": 218,
        "headers": [
          {
            "name": "Content-Language",
            "value": " en"
          },
          {
            "name": "Content-Type",
            "value": " text/html; charset=\"utf-8\""
          },
          {
            "name": "Content-Transfer-Encoding",
            "value": " 7bit"
          }
        ],
        "type": "text/html",
        "charset": "utf-8",
        "language": [
          "en"
        ]
      },
      {
        "partId": "2",
        "blobId": "blob_1",
        "size": 81,
        "headers": [
          {
            "name": "Content-Language",
            "value": " en"
          },
          {
            "name": "Content-Type",
            "value": " text/plain; charset=\"utf-8\""
          },
          {
            "name": "Content-Transfer-Encoding",
            "value": " 7bit"
          }
        ],
        "type": "text/plain",
        "charset": "utf-8",
        "language": [
          "en"
        ]
      }
    ]
  },
  "bodyValues": {
    "1": {
      "value": "<!DOCTYPE html><html><head><title></title><style type=\"text/css\">div{font-size:16px}</style>...",
      "isEncodingProblem": false,
      "isTruncated": true
    },
    "2": {
      "value": "I have the most brilliant plan.  Let me tell you all about it.  What we do is, we",
      "isEncodingProblem": false,
      "isTruncated": false
    }
  },
  "textBody": [
    {
      "partId": "2",
      "blobId": "blob_1",
      "size": 81,
      "headers": [
        {
          "name": "Content-Language",
          "value": " en"
        },
        {
          "name": "Content-Type",
          "value": " text/plain; charset=\"utf-8\""
        },
        {
          "name": "Content-Transfer-Encoding",
          "value": " 7bit"
        }
      ],
      "type": "text/plain",
      "charset": "utf-8",
      "language": [
        "en"
      ]
    }
  ],
  "htmlBody": [
    {
      "partId": "1",
      "blobId": "blob_0",
      "size": 218,
      "headers": [
        {
          "name": "Content-Language",
          "value": " en"
        },
        {
          "name": "Content-Type",
          "value": " text/html; charset=\"utf-8\""
        },
        {
          "name": "Content-Transfer-Encoding",
          "value": " 7bit"
        }
      ],
      "type": "text/html",
      "charset": "utf-8",
      "language": [
        "en"
      ]
    }
  ],
  "attachments": [],
  "hasAttachment": false,
  "preview": "I have the most brilliant plan.  Let me tell you all about it.  What we do is, we"
}