These docs are for v0.1.0. Click to read the latest docs for v1.0.0.

The message object: (Note: Messages found in otherMessages will not have a body field as they are only loaded when expanded)

{
  "id": "msg_55c8c149",
  "ext_id": "[email protected]",
  "type": "email",
  "status": "imported",
  "date": 1422909585000,
  "inbound": false,
  "blurb": "This is a test",
  "recipient_opened_date": null,
  "subject": "More testing",
  "body": "This is a test", // body will only be loaded in the first message
  "from": {
    // Similar to the contact JSON above
  },
  "recipients": [
    {
      // Similar to the contact JSON above
    }
  ],
  "attachments": [{
      "id": "fil_55c8c149",
      "uid": "1234567890",
      "filename": "chart.jpg",
      "content_type": "image/jpeg",
      "size": "391970"
  }]
}