Skip to main content
Glama

Cherami

Read conversation

get_thread
Read-onlyIdempotent

Read a conversation's received and sent messages. The first page holds the newest messages in chronological order; next_cursor returns older ones.

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNoContinue with next_cursor from the previous result, keeping the same filters. Stop when next_cursor is null.
formatNoreadable (default) gives the newly written reply text when it can be extracted. full gives the original bodies, quoted history, HTML and transport details. Neither includes attachment bytes: use read_attachment for received mail and get_sent_message in full format for sent mail.
thread_idYes

Output Schema

NameRequiredDescriptionDefault
idYes
subjectYes
inbox_idYes
messagesYes
next_cursorYes
message_countYes
unknown_countYes
accepted_countYes
received_countYes
rejected_countYes
last_activity_atYesAbsolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"Defaults to extracted reply text when available. Use full for original bodies, quoted history, HTML and transport details; neither format includes attachment bytes."New value: +"readable (default) gives the newly written reply text when it can be extracted. full gives the original bodies, quoted history, HTML and transport details. Neither includes attachment bytes: use read_attachment for received mail and get_sent_message in full format for sent mail."
    • changedOutput schema / properties / messages / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "attachments": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "content_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "disposition": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "filename": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "mime_type": {
      -              "type": "string"
      -            },
      -            "related": {
      -              "type": "boolean"
      -            },
      -            "size": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "filename",
      -            "size",
      -            "mime_type",
      -            "disposition",
      -            "content_id",
      -            "related"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "body": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "body_source": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "reply_text",
      -              "text",
      -              "html"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "reply_text is heuristic extraction, not the original body. Use full format for quoted history, forwards or ambiguous inline answers; complete means untruncated, not original."
      -      },
      -      "body_status": {
      -        "description": "For truncated bodies, use get_message. For not_ready, check again later. For plain_text_unavailable, use full format if html_available.",
      -        "enum": [
      -          "not_ready",
      -          "plain_text_unavailable",
      -          "truncated",
      -          "complete"
      -        ],
      -        "type": "string"
      -      },
      -      "cc": {
      -        "items": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "name",
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "group": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "address": {
      -                        "type": "string"
      -                      },
      -                      "name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "name",
      -                      "address"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "name",
      -                "group"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "type": "array"
      -      },
      -      "direction": {
      -        "const": "received",
      -        "type": "string"
      -      },
      -      "from": {
      -        "anyOf": [
      -          {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "address": {
      -                    "type": "string"
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "address"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "group": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "group"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "html_available": {
      -        "type": "boolean"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "inbox_id": {
      -        "type": "string"
      -      },
      -      "labels": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "processing_status": {
      -        "enum": [
      -          "pending",
      -          "processing",
      -          "ready",
      -          "failed"
      -        ],
      -        "type": "string"
      -      },
      -      "received_at": {
      -        "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      -        "type": "string"
      -      },
      -      "reply": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "in_reply_to": {
      -                "type": "string"
      -              },
      -              "subject": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "to": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "address": {
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "address"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "in_reply_to",
      -              "to",
      -              "subject"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "reply_to": {
      -        "items": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "name",
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "group": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "address": {
      -                        "type": "string"
      -                      },
      -                      "name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "name",
      -                      "address"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "name",
      -                "group"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "type": "array"
      -      },
      -      "subject": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "thread_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to": {
      -        "items": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "name",
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "group": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "address": {
      -                        "type": "string"
      -                      },
      -                      "name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "name",
      -                      "address"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "name",
      -                "group"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "inbox_id",
      -      "thread_id",
      -      "received_at",
      -      "processing_status",
      -      "labels",
      -      "from",
      -      "reply_to",
      -      "to",
      -      "cc",
      -      "subject",
      -      "body",
      -      "body_source",
      -      "body_status",
      -      "html_available",
      -      "attachments",
      -      "reply",
      -      "direction"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "content": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "attachments": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "content_id": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "disposition": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "filename": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "id": {
      -                      "type": "string"
      -                    },
      -                    "mime_type": {
      -                      "type": "string"
      -                    },
      -                    "related": {
      -                      "type": "boolean"
      -                    },
      -                    "size": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "filename",
      -                    "size",
      -                    "mime_type",
      -                    "disposition",
      -                    "content_id",
      -                    "related"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "bcc": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "group": {
      -                          "items": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "address": {
      -                                "type": "string"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "required": [
      -                              "name",
      -                              "address"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          "type": "array"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "group"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              },
      -              "cc": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "group": {
      -                          "items": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "address": {
      -                                "type": "string"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "required": [
      -                              "name",
      -                              "address"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          "type": "array"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "group"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              },
      -              "date": {
      -                "description": "Sender-supplied Date header: ISO when parseable, otherwise original header text; not receipt time.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "from": {
      -                "anyOf": [
      -                  {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "address": {
      -                            "type": "string"
      -                          },
      -                          "name": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "name",
      -                          "address"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "group": {
      -                            "items": {
      -                              "additionalProperties": false,
      -                              "properties": {
      -                                "address": {
      -                                  "type": "string"
      -                                },
      -                                "name": {
      -                                  "type": "string"
      -                                }
      -                              },
      -                              "required": [
      -                                "name",
      -                                "address"
      -                              ],
      -                              "type": "object"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "name": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "name",
      -                          "group"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    ]
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "html": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "in_reply_to": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "message_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "references": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "reply_text": {
      -                "description": "Heuristically extracted reply; null means unavailable, an empty string means no new text detected. Original text and HTML are preserved.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "reply_to": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "group": {
      -                          "items": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "address": {
      -                                "type": "string"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "required": [
      -                              "name",
      -                              "address"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          "type": "array"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "group"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              },
      -              "sender": {
      -                "anyOf": [
      -                  {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "address": {
      -                            "type": "string"
      -                          },
      -                          "name": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "name",
      -                          "address"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "group": {
      -                            "items": {
      -                              "additionalProperties": false,
      -                              "properties": {
      -                                "address": {
      -                                  "type": "string"
      -                                },
      -                                "name": {
      -                                  "type": "string"
      -                                }
      -                              },
      -                              "required": [
      -                                "name",
      -                                "address"
      -                              ],
      -                              "type": "object"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "name": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "name",
      -                          "group"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    ]
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "subject": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "text": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "to": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "group": {
      -                          "items": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "address": {
      -                                "type": "string"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "required": [
      -                              "name",
      -                              "address"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          "type": "array"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "group"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "from",
      -              "sender",
      -              "reply_to",
      -              "to",
      -              "cc",
      -              "bcc",
      -              "subject",
      -              "message_id",
      -              "in_reply_to",
      -              "references",
      -              "reply_text",
      -              "date",
      -              "text",
      -              "html",
      -              "attachments"
      -            ],
      -            "type": "object"
      -          },
      -          "direction": {
      -            "const": "received",
      -            "type": "string"
      -          },
      -          "envelope_from": {
      -            "type": "string"
      -          },
      -          "envelope_to": {
      -            "type": "string"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "inbox_id": {
      -            "type": "string"
      -          },
      -          "labels": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "message_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "processing_status": {
      -            "const": "ready",
      -            "type": "string"
      -          },
      -          "raw_size": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "received_at": {
      -            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      -            "type": "string"
      -          },
      -          "subject": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "thread_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "inbox_id",
      -          "thread_id",
      -          "received_at",
      -          "processing_status",
      -          "labels",
      -          "envelope_from",
      -          "envelope_to",
      -          "subject",
      -          "message_id",
      -          "raw_size",
      -          "direction",
      -          "content"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "direction": {
      -            "const": "received",
      -            "type": "string"
      -          },
      -          "envelope_from": {
      -            "type": "string"
      -          },
      -          "envelope_to": {
      -            "type": "string"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "inbox_id": {
      -            "type": "string"
      -          },
      -          "labels": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "message_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "processing_status": {
      -            "enum": [
      -              "pending",
      -              "processing",
      -              "failed"
      -            ],
      -            "type": "string"
      -          },
      -          "raw_size": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "received_at": {
      -            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      -            "type": "string"
      -          },
      -          "subject": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "thread_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "inbox_id",
      -          "thread_id",
      -          "received_at",
      -          "processing_status",
      -          "labels",
      -          "envelope_from",
      -          "envelope_to",
      -          "subject",
      -          "message_id",
      -          "raw_size",
      -          "direction"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "attachments": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "filename": {
      -                  "type": "string"
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "mime_type": {
      -                  "type": "string"
      -                },
      -                "size": {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "filename",
      -                "mime_type",
      -                "size"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "bcc": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "body": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "body_source": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "reply_text",
      -                  "text",
      -                  "html"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "reply_text is heuristic extraction, not the original body. Use full format for quoted history, forwards or ambiguous inline answers; complete means untruncated, not original."
      -          },
      -          "body_status": {
      -            "const": "complete",
      -            "type": "string"
      -          },
      -          "cc": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "created_at": {
      -            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      -            "type": "string"
      -          },
      -          "direction": {
      -            "const": "sent",
      -            "type": "string"
      -          },
      -          "error_code": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "from": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "address": {
      -                "type": "string"
      -              },
      -              "name": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "address"
      -            ],
      -            "type": "object"
      -          },
      -          "html_available": {
      -            "type": "boolean"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "in_reply_to": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "inbox_id": {
      -            "type": "string"
      -          },
      -          "labels": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "recipient_count": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "status": {
      -            "const": "accepted",
      -            "description": "Accepted by the email provider, not confirmation of delivery.",
      -            "type": "string"
      -          },
      -          "subject": {
      -            "type": "string"
      -          },
      -          "thread_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "to": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "inbox_id",
      -          "thread_id",
      -          "created_at",
      -          "recipient_count",
      -          "error_code",
      -          "in_reply_to",
      -          "labels",
      -          "from",
      -          "to",
      -          "cc",
      -          "bcc",
      -          "subject",
      -          "body",
      -          "body_source",
      -          "body_status",
      -          "html_available",
      -          "attachments",
      -          "direction",
      -          "status"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "attachments": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "filename": {
      -                  "type": "string"
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "mime_type": {
      -                  "type": "string"
      -                },
      -                "size": {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "filename",
      -                "mime_type",
      -                "size"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "bcc": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "body": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "body_source": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "reply_text",
      -                  "text",
      -                  "html"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "reply_text is heuristic extraction, not the original body. Use full format for quoted history, forwards or ambiguous inline answers; complete means untruncated, not original."
      -          },
      -          "body_status": {
      -            "const": "complete",
      -            "type": "string"
      -          },
      -          "cc": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "created_at": {
      -            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      -            "type": "string"
      -          },
      -          "direction": {
      -            "const": "sent",
      -            "type": "string"
      -          },
      -          "error_code": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "from": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "address": {
      -                "type": "string"
      -              },
      -              "name": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "address"
      -            ],
      -            "type": "object"
      -          },
      -          "guidance": {
      -            "type": "string"
      -          },
      -          "html_available": {
      -            "type": "boolean"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "in_reply_to": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "inbox_id": {
      -            "type": "string"
      -          },
      -          "labels": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "recipient_count": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "status": {
      -            "enum": [
      -              "rejected",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "subject": {
      -            "type": "string"
      -          },
      -          "thread_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "to": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "address": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "address"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "inbox_id",
      -          "thread_id",
      -          "created_at",
      -          "recipient_count",
      -          "error_code",
      -          "in_reply_to",
      -          "labels",
      -          "from",
      -          "to",
      -          "cc",
      -          "bcc",
      -          "subject",
      -          "body",
      -          "body_source",
      -          "body_status",
      -          "html_available",
      -          "attachments",
      -          "direction",
      -          "status",
      -          "guidance"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "created_at": {
      -            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      -            "type": "string"
      -          },
      -          "direction": {
      -            "const": "sent",
      -            "type": "string"
      -          },
      -          "error_code": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "in_reply_to": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "inbox_id": {
      -            "type": "string"
      -          },
      -          "labels": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "provider_message_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "recipient_count": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "reply_text": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "status": {
      -            "const": "accepted",
      -            "description": "Accepted by the email provider, not confirmation of delivery.",
      -            "type": "string"
      -          },
      -          "submission": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "attachments": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "filename": {
      -                      "type": "string"
      -                    },
      -                    "id": {
      -                      "type": "string"
      -                    },
      -                    "mime_type": {
      -                      "type": "string"
      -                    },
      -                    "size": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "filename",
      -                    "mime_type",
      -                    "size"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "bcc": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              },
      -              "cc": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              },
      -              "from": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "address": {
      -                        "type": "string"
      -                      },
      -                      "name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "address"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "headers": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "In-Reply-To": {
      -                    "type": "string"
      -                  },
      -                  "References": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "In-Reply-To",
      -                  "References"
      -                ],
      -                "type": "object"
      -              },
      -              "html": {
      -                "type": "string"
      -              },
      -              "subject": {
      -                "type": "string"
      -              },
      -              "text": {
      -                "type": "string"
      -              },
      -              "to": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "from",
      -              "to",
      -              "cc",
      -              "bcc",
      -              "subject",
      -              "text",
      -              "attachments"
      -            ],
      -            "type": "object"
      -          },
      -          "thread_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "inbox_id",
      -          "thread_id",
      -          "created_at",
      -          "recipient_count",
      -          "error_code",
      -          "in_reply_to",
      -          "labels",
      -          "direction",
      -          "reply_text",
      -          "provider_message_id",
      -          "submission",
      -          "status"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "created_at": {
      -            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      -            "type": "string"
      -          },
      -          "direction": {
      -            "const": "sent",
      -            "type": "string"
      -          },
      -          "error_code": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "guidance": {
      -            "type": "string"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "in_reply_to": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "inbox_id": {
      -            "type": "string"
      -          },
      -          "labels": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "provider_message_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "recipient_count": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "reply_text": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "status": {
      -            "enum": [
      -              "rejected",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "submission": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "attachments": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "filename": {
      -                      "type": "string"
      -                    },
      -                    "id": {
      -                      "type": "string"
      -                    },
      -                    "mime_type": {
      -                      "type": "string"
      -                    },
      -                    "size": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "filename",
      -                    "mime_type",
      -                    "size"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "bcc": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              },
      -              "cc": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              },
      -              "from": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "address": {
      -                        "type": "string"
      -                      },
      -                      "name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "address"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "headers": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "In-Reply-To": {
      -                    "type": "string"
      -                  },
      -                  "References": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "In-Reply-To",
      -                  "References"
      -                ],
      -                "type": "object"
      -              },
      -              "html": {
      -                "type": "string"
      -              },
      -              "subject": {
      -                "type": "string"
      -              },
      -              "text": {
      -                "type": "string"
      -              },
      -              "to": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "address"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "from",
      -              "to",
      -              "cc",
      -              "bcc",
      -              "subject",
      -              "text",
      -              "attachments"
      -            ],
      -            "type": "object"
      -          },
      -          "thread_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "inbox_id",
      -          "thread_id",
      -          "created_at",
      -          "recipient_count",
      -          "error_code",
      -          "in_reply_to",
      -          "labels",
      -          "direction",
      -          "reply_text",
      -          "provider_message_id",
      -          "submission",
      -          "status",
      -          "guidance"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "attachments": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "content_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "disposition": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "filename": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "id": {
      +              "type": "string"
      +            },
      +            "mime_type": {
      +              "type": "string"
      +            },
      +            "related": {
      +              "type": "boolean"
      +            },
      +            "size": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "filename",
      +            "size",
      +            "mime_type",
      +            "disposition",
      +            "content_id",
      +            "related"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "body": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "body_source": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "reply_text",
      +              "text",
      +              "html"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "reply_text: only the newly written text, extracted without quoted history; empty when none was found. For forwards, quoted history or answers written inline, read format full. text: the plain-text body. html: text taken from the HTML body."
      +      },
      +      "body_status": {
      +        "description": "complete: body is not truncated. truncated: get_message returns the whole body. not_ready: no parsed content yet; while processing_status is pending or processing, read again shortly; when it is failed, read the original with read_raw_message. plain_text_unavailable: read format full if html_available.",
      +        "enum": [
      +          "not_ready",
      +          "plain_text_unavailable",
      +          "truncated",
      +          "complete"
      +        ],
      +        "type": "string"
      +      },
      +      "cc": {
      +        "items": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "group": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "address": {
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "name",
      +                      "address"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "group"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "direction": {
      +        "const": "received",
      +        "type": "string"
      +      },
      +      "from": {
      +        "anyOf": [
      +          {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "address": {
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "address"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "group": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "group"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "html_available": {
      +        "type": "boolean"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "inbox_id": {
      +        "type": "string"
      +      },
      +      "labels": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "processing_status": {
      +        "enum": [
      +          "pending",
      +          "processing",
      +          "ready",
      +          "failed"
      +        ],
      +        "type": "string"
      +      },
      +      "received_at": {
      +        "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      +        "type": "string"
      +      },
      +      "reply": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "in_reply_to": {
      +                "type": "string"
      +              },
      +              "subject": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "to": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "address": {
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "address"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "in_reply_to",
      +              "to",
      +              "subject"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Suggested in_reply_to, recipients and subject for send_message. to comes from sender-written headers: check it against the assignment."
      +      },
      +      "reply_to": {
      +        "items": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "group": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "address": {
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "name",
      +                      "address"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "group"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "subject": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "thread_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to": {
      +        "items": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "group": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "address": {
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "name",
      +                      "address"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "group"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "inbox_id",
      +      "thread_id",
      +      "received_at",
      +      "processing_status",
      +      "labels",
      +      "from",
      +      "reply_to",
      +      "to",
      +      "cc",
      +      "subject",
      +      "body",
      +      "body_source",
      +      "body_status",
      +      "html_available",
      +      "attachments",
      +      "reply",
      +      "direction"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "content": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "attachments": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "content_id": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "disposition": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "filename": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "mime_type": {
      +                      "type": "string"
      +                    },
      +                    "related": {
      +                      "type": "boolean"
      +                    },
      +                    "size": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "filename",
      +                    "size",
      +                    "mime_type",
      +                    "disposition",
      +                    "content_id",
      +                    "related"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "bcc": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "group": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "address": {
      +                                "type": "string"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "name",
      +                              "address"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "type": "array"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "group"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              },
      +              "cc": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "group": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "address": {
      +                                "type": "string"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "name",
      +                              "address"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "type": "array"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "group"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              },
      +              "date": {
      +                "description": "Sender-supplied Date header: ISO when parseable, otherwise original header text; not receipt time.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "from": {
      +                "anyOf": [
      +                  {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "address": {
      +                            "type": "string"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "name",
      +                          "address"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "group": {
      +                            "items": {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "address": {
      +                                  "type": "string"
      +                                },
      +                                "name": {
      +                                  "type": "string"
      +                                }
      +                              },
      +                              "required": [
      +                                "name",
      +                                "address"
      +                              ],
      +                              "type": "object"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "name",
      +                          "group"
      +                        ],
      +                        "type": "object"
      +                      }
      +                    ]
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "html": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "in_reply_to": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "message_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "references": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "reply_text": {
      +                "description": "Newly written text extracted from the body; empty when none was found, null when extraction was not possible.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "reply_to": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "group": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "address": {
      +                                "type": "string"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "name",
      +                              "address"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "type": "array"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "group"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              },
      +              "sender": {
      +                "anyOf": [
      +                  {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "address": {
      +                            "type": "string"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "name",
      +                          "address"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "group": {
      +                            "items": {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "address": {
      +                                  "type": "string"
      +                                },
      +                                "name": {
      +                                  "type": "string"
      +                                }
      +                              },
      +                              "required": [
      +                                "name",
      +                                "address"
      +                              ],
      +                              "type": "object"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "name",
      +                          "group"
      +                        ],
      +                        "type": "object"
      +                      }
      +                    ]
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "subject": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "text": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "to": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "group": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "address": {
      +                                "type": "string"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "name",
      +                              "address"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "type": "array"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "group"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "from",
      +              "sender",
      +              "reply_to",
      +              "to",
      +              "cc",
      +              "bcc",
      +              "subject",
      +              "message_id",
      +              "in_reply_to",
      +              "references",
      +              "reply_text",
      +              "date",
      +              "text",
      +              "html",
      +              "attachments"
      +            ],
      +            "type": "object"
      +          },
      +          "direction": {
      +            "const": "received",
      +            "type": "string"
      +          },
      +          "envelope_from": {
      +            "type": "string"
      +          },
      +          "envelope_to": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "inbox_id": {
      +            "type": "string"
      +          },
      +          "labels": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "message_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "processing_status": {
      +            "const": "ready",
      +            "type": "string"
      +          },
      +          "raw_size": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "received_at": {
      +            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      +            "type": "string"
      +          },
      +          "subject": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "thread_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "inbox_id",
      +          "thread_id",
      +          "received_at",
      +          "processing_status",
      +          "labels",
      +          "envelope_from",
      +          "envelope_to",
      +          "subject",
      +          "message_id",
      +          "raw_size",
      +          "direction",
      +          "content"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "direction": {
      +            "const": "received",
      +            "type": "string"
      +          },
      +          "envelope_from": {
      +            "type": "string"
      +          },
      +          "envelope_to": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "inbox_id": {
      +            "type": "string"
      +          },
      +          "labels": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "message_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "processing_status": {
      +            "enum": [
      +              "pending",
      +              "processing",
      +              "failed"
      +            ],
      +            "type": "string"
      +          },
      +          "raw_size": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "received_at": {
      +            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      +            "type": "string"
      +          },
      +          "subject": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "thread_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "inbox_id",
      +          "thread_id",
      +          "received_at",
      +          "processing_status",
      +          "labels",
      +          "envelope_from",
      +          "envelope_to",
      +          "subject",
      +          "message_id",
      +          "raw_size",
      +          "direction"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "attachments": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "filename": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "mime_type": {
      +                  "type": "string"
      +                },
      +                "size": {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "filename",
      +                "mime_type",
      +                "size"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "bcc": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "body": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "body_source": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "reply_text",
      +                  "text",
      +                  "html"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "reply_text: only the newly written text, extracted without quoted history; empty when none was found. For forwards, quoted history or answers written inline, read format full. text: the plain-text body. html: text taken from the HTML body."
      +          },
      +          "body_status": {
      +            "const": "complete",
      +            "type": "string"
      +          },
      +          "cc": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "created_at": {
      +            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      +            "type": "string"
      +          },
      +          "direction": {
      +            "const": "sent",
      +            "type": "string"
      +          },
      +          "error_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "from": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "address": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "address"
      +            ],
      +            "type": "object"
      +          },
      +          "html_available": {
      +            "type": "boolean"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "in_reply_to": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "inbox_id": {
      +            "type": "string"
      +          },
      +          "labels": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "recipient_count": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "status": {
      +            "const": "accepted",
      +            "description": "Accepted by the email provider, not confirmation of delivery.",
      +            "type": "string"
      +          },
      +          "subject": {
      +            "type": "string"
      +          },
      +          "thread_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "to": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "inbox_id",
      +          "thread_id",
      +          "created_at",
      +          "recipient_count",
      +          "error_code",
      +          "in_reply_to",
      +          "labels",
      +          "from",
      +          "to",
      +          "cc",
      +          "bcc",
      +          "subject",
      +          "body",
      +          "body_source",
      +          "body_status",
      +          "html_available",
      +          "attachments",
      +          "direction",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "attachments": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "filename": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "mime_type": {
      +                  "type": "string"
      +                },
      +                "size": {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "filename",
      +                "mime_type",
      +                "size"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "bcc": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "body": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "body_source": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "reply_text",
      +                  "text",
      +                  "html"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "reply_text: only the newly written text, extracted without quoted history; empty when none was found. For forwards, quoted history or answers written inline, read format full. text: the plain-text body. html: text taken from the HTML body."
      +          },
      +          "body_status": {
      +            "const": "complete",
      +            "type": "string"
      +          },
      +          "cc": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "created_at": {
      +            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      +            "type": "string"
      +          },
      +          "direction": {
      +            "const": "sent",
      +            "type": "string"
      +          },
      +          "error_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "from": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "address": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "address"
      +            ],
      +            "type": "object"
      +          },
      +          "guidance": {
      +            "type": "string"
      +          },
      +          "html_available": {
      +            "type": "boolean"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "in_reply_to": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "inbox_id": {
      +            "type": "string"
      +          },
      +          "labels": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "recipient_count": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "status": {
      +            "enum": [
      +              "rejected",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "subject": {
      +            "type": "string"
      +          },
      +          "thread_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "to": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "address": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "address"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "inbox_id",
      +          "thread_id",
      +          "created_at",
      +          "recipient_count",
      +          "error_code",
      +          "in_reply_to",
      +          "labels",
      +          "from",
      +          "to",
      +          "cc",
      +          "bcc",
      +          "subject",
      +          "body",
      +          "body_source",
      +          "body_status",
      +          "html_available",
      +          "attachments",
      +          "direction",
      +          "status",
      +          "guidance"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "created_at": {
      +            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      +            "type": "string"
      +          },
      +          "direction": {
      +            "const": "sent",
      +            "type": "string"
      +          },
      +          "error_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "in_reply_to": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "inbox_id": {
      +            "type": "string"
      +          },
      +          "labels": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "provider_message_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "recipient_count": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "reply_text": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "const": "accepted",
      +            "description": "Accepted by the email provider, not confirmation of delivery.",
      +            "type": "string"
      +          },
      +          "submission": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "attachments": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "filename": {
      +                      "type": "string"
      +                    },
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "mime_type": {
      +                      "type": "string"
      +                    },
      +                    "size": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "filename",
      +                    "mime_type",
      +                    "size"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "bcc": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              },
      +              "cc": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              },
      +              "from": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "address": {
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "address"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "headers": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "In-Reply-To": {
      +                    "type": "string"
      +                  },
      +                  "References": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "In-Reply-To",
      +                  "References"
      +                ],
      +                "type": "object"
      +              },
      +              "html": {
      +                "type": "string"
      +              },
      +              "subject": {
      +                "type": "string"
      +              },
      +              "text": {
      +                "type": "string"
      +              },
      +              "to": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "from",
      +              "to",
      +              "cc",
      +              "bcc",
      +              "subject",
      +              "text",
      +              "attachments"
      +            ],
      +            "type": "object"
      +          },
      +          "thread_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "inbox_id",
      +          "thread_id",
      +          "created_at",
      +          "recipient_count",
      +          "error_code",
      +          "in_reply_to",
      +          "labels",
      +          "direction",
      +          "reply_text",
      +          "provider_message_id",
      +          "submission",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "created_at": {
      +            "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
      +            "type": "string"
      +          },
      +          "direction": {
      +            "const": "sent",
      +            "type": "string"
      +          },
      +          "error_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "guidance": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "in_reply_to": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "inbox_id": {
      +            "type": "string"
      +          },
      +          "labels": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "provider_message_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "recipient_count": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "reply_text": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "enum": [
      +              "rejected",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "submission": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "attachments": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "filename": {
      +                      "type": "string"
      +                    },
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "mime_type": {
      +                      "type": "string"
      +                    },
      +                    "size": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "filename",
      +                    "mime_type",
      +                    "size"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "bcc": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              },
      +              "cc": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              },
      +              "from": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "address": {
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "address"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "headers": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "In-Reply-To": {
      +                    "type": "string"
      +                  },
      +                  "References": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "In-Reply-To",
      +                  "References"
      +                ],
      +                "type": "object"
      +              },
      +              "html": {
      +                "type": "string"
      +              },
      +              "subject": {
      +                "type": "string"
      +              },
      +              "text": {
      +                "type": "string"
      +              },
      +              "to": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "address"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "from",
      +              "to",
      +              "cc",
      +              "bcc",
      +              "subject",
      +              "text",
      +              "attachments"
      +            ],
      +            "type": "object"
      +          },
      +          "thread_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "inbox_id",
      +          "thread_id",
      +          "created_at",
      +          "recipient_count",
      +          "error_code",
      +          "in_reply_to",
      +          "labels",
      +          "direction",
      +          "reply_text",
      +          "provider_message_id",
      +          "submission",
      +          "status",
      +          "guidance"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  }
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already carry readOnlyHint, idempotentHint and destructiveHint=false, so the description is not required to restate safety. It instead adds a real behavioral trait beyond the structured fields: the page ordering (newest first, chronological within the page) and that next_cursor walks toward older messages.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, purpose front-loaded before the pagination detail. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be explained, and the safety profile is covered by annotations. Purpose plus pagination direction is enough for a read tool, though the absence of any hint about what a message entry contains vs. read_raw_message is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: cursor and format are richly described in the schema (including the attachment caveat), while thread_id and limit carry no description there or in the description. The description mentions next_cursor but only repeats the pagination semantics already stated in the cursor schema field, so it adds little parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb + resource: read a conversation's received and sent messages, which separates it from get_message (single message), list_threads (thread index) and list_messages. It stops short of naming any sibling as the alternative, so the differentiation must be inferred from the sibling names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the purpose statement; there is no explicit when-to-use, no exclusion (e.g. drafts or attachments are not mentioned) and no routing to get_message, read_raw_message or read_attachment. An agent can infer the context but gets no comparative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources