Skip to main content
Glama
Sendmux Email Inbox API + Sending

Sendmux Email Inbox API + Sending

Official
by qubrics

Read Message Content

mailbox_list_content
Read-onlyIdempotent

Read structured email content by message ID from a mailbox, including headers, participants, selected body parts, links, signatures, and attachment metadata when those details affect the answer.

Instructions

Use this to read structured content for a known message_id. Prefer it when headers, participants, or body parts affect the answer.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "message_id": "<message_id>"
    },
    "name": "mailbox_list_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
partNoBody part to return. `auto` prefers text when available.
mailbox_idNoMailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox.
message_idYesMessage ID.
include_htmlNoWhen true, include HTML content when available.
strip_quotesNoWhen true, remove quoted reply text.
If-None-MatchNoWeak ETag from a previous response. Returns 304 when unchanged.
include_linksNoWhen true, include links extracted from the body.
max_body_charsNoMaximum body characters to return before truncation.
include_headersNoHeader detail to include in the response.
strip_signatureNoWhen true, remove detected email signatures.
include_attachmentsNoAttachment detail to include. Contents are not returned.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.17
    • changedOutput schema / properties / result / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "meta": {
      -        "additionalProperties": {},
      -        "properties": {},
      -        "type": "object"
      -      },
      -      "ok": {
      -        "enum": [
      -          true
      -        ],
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "meta"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "attachments": {
      -            "description": "Attachment metadata only. Attachment contents are not parsed by this endpoint.",
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "content_id": {
      -                  "description": "Content ID for inline attachments, when present.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "content_type": {
      -                  "example": "application/pdf",
      -                  "type": "string"
      -                },
      -                "disposition": {
      -                  "example": "attachment",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "download_url": {
      -                  "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      -                  "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      -                  "type": "string"
      -                },
      -                "filename": {
      -                  "example": "invoice.pdf",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "id": {
      -                  "description": "Attachment blob ID.",
      -                  "type": "string"
      -                },
      -                "size_bytes": {
      -                  "example": 12345,
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "filename",
      -                "content_type",
      -                "size_bytes",
      -                "disposition",
      -                "content_id"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "body": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "extracted_links": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "format": {
      -                "enum": [
      -                  "text",
      -                  "html"
      -                ],
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "html": {
      -                "description": "HTML body when requested. Returned as a JSON string and not as rendered content.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "is_truncated": {
      -                "type": "boolean"
      -              },
      -              "quotes_stripped": {
      -                "type": "boolean"
      -              },
      -              "signature_stripped": {
      -                "type": "boolean"
      -              },
      -              "text": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "truncated_at_chars": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "format",
      -              "text",
      -              "html",
      -              "is_truncated",
      -              "truncated_at_chars",
      -              "signature_stripped",
      -              "quotes_stripped",
      -              "extracted_links"
      -            ],
      -            "type": "object"
      -          },
      -          "dates": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "received_at": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "sent_at": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "received_at",
      -              "sent_at"
      -            ],
      -            "type": "object"
      -          },
      -          "headers": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "full": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "name": {
      -                      "type": "string"
      -                    },
      -                    "value": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "name",
      -                    "value"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": [
      -                  "array",
      -                  "null"
      -                ]
      -              },
      -              "mode": {
      -                "enum": [
      -                  "none",
      -                  "selected",
      -                  "full"
      -                ],
      -                "type": "string"
      -              },
      -              "selected": {
      -                "properties": {
      -                  "in_reply_to": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "message_id": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "references": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "reply_to": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "email": {
      -                          "example": "agent@example.com",
      -                          "format": "email",
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "example": "Support",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "email",
      -                        "name"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "required": [
      -                  "message_id",
      -                  "in_reply_to",
      -                  "references",
      -                  "reply_to"
      -                ],
      -                "type": [
      -                  "object",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "mode",
      -              "selected",
      -              "full"
      -            ],
      -            "type": "object"
      -          },
      -          "id": {
      -            "description": "Message ID",
      -            "type": "string"
      -          },
      -          "participants": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "bcc": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "email": {
      -                      "example": "agent@example.com",
      -                      "format": "email",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "example": "Support",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "email",
      -                    "name"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "cc": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "email": {
      -                      "example": "agent@example.com",
      -                      "format": "email",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "example": "Support",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "email",
      -                    "name"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "from": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "email": {
      -                        "example": "agent@example.com",
      -                        "format": "email",
      -                        "type": "string"
      -                      },
      -                      "name": {
      -                        "example": "Support",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "required": [
      -                      "email",
      -                      "name"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "reply_to": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "email": {
      -                      "example": "agent@example.com",
      -                      "format": "email",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "example": "Support",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "email",
      -                    "name"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "to": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "email": {
      -                      "example": "agent@example.com",
      -                      "format": "email",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "example": "Support",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "email",
      -                    "name"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "from",
      -              "to",
      -              "cc",
      -              "bcc",
      -              "reply_to"
      -            ],
      -            "type": "object"
      -          },
      -          "states": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "email_state": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "option_hash": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "email_state",
      -              "option_hash"
      -            ],
      -            "type": "object"
      -          },
      -          "subject": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "thread_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "thread_id",
      -          "subject",
      -          "participants",
      -          "dates",
      -          "body",
      -          "headers",
      -          "attachments",
      -          "states"
      -        ],
      -        "type": "object"
      -      },
      -      "meta": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "request_id": {
      -            "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "request_id"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "data"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "meta": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "ok": {
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "meta"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "attachments": {
      +            "description": "Attachment metadata only. Attachment contents are not parsed by this endpoint.",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "content_id": {
      +                  "description": "Content ID for inline attachments, when present.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "content_type": {
      +                  "example": "application/pdf",
      +                  "type": "string"
      +                },
      +                "disposition": {
      +                  "example": "attachment",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "download_url": {
      +                  "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      +                  "example": "https://app.qubrics.com/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      +                  "type": "string"
      +                },
      +                "filename": {
      +                  "example": "invoice.pdf",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "description": "Attachment blob ID.",
      +                  "type": "string"
      +                },
      +                "size_bytes": {
      +                  "example": 12345,
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "filename",
      +                "content_type",
      +                "size_bytes",
      +                "disposition",
      +                "content_id"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "body": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "cleaned_html": {
      +                "description": "HTML with recognised quotes and signatures removed according to the stripping options. Original HTML remains in html. This is not sanitised content. Null when HTML is absent, not requested, truncated, or exceeds cleaning limits.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "extracted_links": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "format": {
      +                "enum": [
      +                  "text",
      +                  "html"
      +                ],
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "html": {
      +                "description": "HTML body when requested. Returned as a JSON string and not as rendered content.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "html_cleaning": {
      +                "additionalProperties": false,
      +                "description": "HTML cleaning outcome; null when HTML is absent or not requested. Cleaning accepts at most 20,000 elements and 128 nested elements. Unrecognised quote and signature formats remain unchanged.",
      +                "properties": {
      +                  "quotes_stripped": {
      +                    "type": "boolean"
      +                  },
      +                  "signature_stripped": {
      +                    "type": "boolean"
      +                  },
      +                  "status": {
      +                    "enum": [
      +                      "complete",
      +                      "source_truncated",
      +                      "limit_exceeded"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "status",
      +                  "signature_stripped",
      +                  "quotes_stripped"
      +                ],
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "is_truncated": {
      +                "type": "boolean"
      +              },
      +              "quotes_stripped": {
      +                "type": "boolean"
      +              },
      +              "signature_stripped": {
      +                "type": "boolean"
      +              },
      +              "text": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "truncated_at_chars": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "format",
      +              "text",
      +              "html",
      +              "cleaned_html",
      +              "html_cleaning",
      +              "is_truncated",
      +              "truncated_at_chars",
      +              "signature_stripped",
      +              "quotes_stripped",
      +              "extracted_links"
      +            ],
      +            "type": "object"
      +          },
      +          "dates": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "received_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "sent_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "received_at",
      +              "sent_at"
      +            ],
      +            "type": "object"
      +          },
      +          "headers": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "full": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "name",
      +                    "value"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              },
      +              "mode": {
      +                "enum": [
      +                  "none",
      +                  "selected",
      +                  "full"
      +                ],
      +                "type": "string"
      +              },
      +              "selected": {
      +                "properties": {
      +                  "in_reply_to": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "message_id": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "references": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "reply_to": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "email": {
      +                          "example": "agent@example.com",
      +                          "format": "email",
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "example": "Support",
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "email",
      +                        "name"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "message_id",
      +                  "in_reply_to",
      +                  "references",
      +                  "reply_to"
      +                ],
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "mode",
      +              "selected",
      +              "full"
      +            ],
      +            "type": "object"
      +          },
      +          "id": {
      +            "description": "Message ID",
      +            "type": "string"
      +          },
      +          "participants": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "bcc": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "cc": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "from": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "email": {
      +                        "example": "agent@example.com",
      +                        "format": "email",
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "example": "Support",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "email",
      +                      "name"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "reply_to": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "to": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "from",
      +              "to",
      +              "cc",
      +              "bcc",
      +              "reply_to"
      +            ],
      +            "type": "object"
      +          },
      +          "states": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "email_state": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "option_hash": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "email_state",
      +              "option_hash"
      +            ],
      +            "type": "object"
      +          },
      +          "subject": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "thread_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "thread_id",
      +          "subject",
      +          "participants",
      +          "dates",
      +          "body",
      +          "headers",
      +          "attachments",
      +          "states"
      +        ],
      +        "type": "object"
      +      },
      +      "meta": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "request_id": {
      +            "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "request_id"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "data"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changedv1.0.14
    • changedOutput schema / properties / result / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "meta": {
      -        "additionalProperties": {},
      -        "properties": {},
      -        "type": "object"
      -      },
      -      "ok": {
      -        "enum": [
      -          true
      -        ],
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "meta"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "data": {
      -        "allOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "attachments": {
      -                "description": "Attachment metadata only. Attachment contents are not parsed by this endpoint.",
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "content_id": {
      -                      "description": "Content ID for inline attachments, when present.",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "content_type": {
      -                      "example": "application/pdf",
      -                      "type": "string"
      -                    },
      -                    "disposition": {
      -                      "example": "attachment",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "download_url": {
      -                      "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      -                      "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      -                      "type": "string"
      -                    },
      -                    "filename": {
      -                      "example": "invoice.pdf",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "id": {
      -                      "description": "Attachment blob ID.",
      -                      "type": "string"
      -                    },
      -                    "size_bytes": {
      -                      "example": 12345,
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "filename",
      -                    "content_type",
      -                    "size_bytes",
      -                    "disposition",
      -                    "content_id"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "body": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "extracted_links": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "format": {
      -                    "enum": [
      -                      "text",
      -                      "html"
      -                    ],
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "html": {
      -                    "description": "HTML body when requested. Returned as a JSON string and not as rendered content.",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "is_truncated": {
      -                    "type": "boolean"
      -                  },
      -                  "quotes_stripped": {
      -                    "type": "boolean"
      -                  },
      -                  "signature_stripped": {
      -                    "type": "boolean"
      -                  },
      -                  "text": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "truncated_at_chars": {
      -                    "type": [
      -                      "integer",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "format",
      -                  "text",
      -                  "html",
      -                  "is_truncated",
      -                  "truncated_at_chars",
      -                  "signature_stripped",
      -                  "quotes_stripped",
      -                  "extracted_links"
      -                ],
      -                "type": "object"
      -              },
      -              "dates": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "received_at": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "sent_at": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "received_at",
      -                  "sent_at"
      -                ],
      -                "type": "object"
      -              },
      -              "headers": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "full": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "name": {
      -                          "type": "string"
      -                        },
      -                        "value": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "name",
      -                        "value"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": [
      -                      "array",
      -                      "null"
      -                    ]
      -                  },
      -                  "mode": {
      -                    "enum": [
      -                      "none",
      -                      "selected",
      -                      "full"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "selected": {
      -                    "properties": {
      -                      "in_reply_to": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "message_id": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "references": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "reply_to": {
      -                        "items": {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "email": {
      -                              "example": "agent@example.com",
      -                              "format": "email",
      -                              "type": "string"
      -                            },
      -                            "name": {
      -                              "example": "Support",
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            }
      -                          },
      -                          "required": [
      -                            "email",
      -                            "name"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      }
      -                    },
      -                    "required": [
      -                      "message_id",
      -                      "in_reply_to",
      -                      "references",
      -                      "reply_to"
      -                    ],
      -                    "type": [
      -                      "object",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "mode",
      -                  "selected",
      -                  "full"
      -                ],
      -                "type": "object"
      -              },
      -              "id": {
      -                "description": "Message ID",
      -                "type": "string"
      -              },
      -              "participants": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "bcc": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "email": {
      -                          "example": "agent@example.com",
      -                          "format": "email",
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "example": "Support",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "email",
      -                        "name"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "cc": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "email": {
      -                          "example": "agent@example.com",
      -                          "format": "email",
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "example": "Support",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "email",
      -                        "name"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "from": {
      -                    "allOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "email": {
      -                            "example": "agent@example.com",
      -                            "format": "email",
      -                            "type": "string"
      -                          },
      -                          "name": {
      -                            "example": "Support",
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "required": [
      -                          "email",
      -                          "name"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "type": [
      -                          "object",
      -                          "null"
      -                        ]
      -                      }
      -                    ]
      -                  },
      -                  "reply_to": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "email": {
      -                          "example": "agent@example.com",
      -                          "format": "email",
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "example": "Support",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "email",
      -                        "name"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "to": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "email": {
      -                          "example": "agent@example.com",
      -                          "format": "email",
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "example": "Support",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "email",
      -                        "name"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "required": [
      -                  "from",
      -                  "to",
      -                  "cc",
      -                  "bcc",
      -                  "reply_to"
      -                ],
      -                "type": "object"
      -              },
      -              "states": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "email_state": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "option_hash": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "email_state",
      -                  "option_hash"
      -                ],
      -                "type": "object"
      -              },
      -              "subject": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "thread_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "id",
      -              "thread_id",
      -              "subject",
      -              "participants",
      -              "dates",
      -              "body",
      -              "headers",
      -              "attachments",
      -              "states"
      -            ],
      -            "type": [
      -              "object",
      -              "null"
      -            ]
      -          },
      -          {
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "meta": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "request_id": {
      -            "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "request_id"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "data"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "meta": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "ok": {
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "meta"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "attachments": {
      +            "description": "Attachment metadata only. Attachment contents are not parsed by this endpoint.",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "content_id": {
      +                  "description": "Content ID for inline attachments, when present.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "content_type": {
      +                  "example": "application/pdf",
      +                  "type": "string"
      +                },
      +                "disposition": {
      +                  "example": "attachment",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "download_url": {
      +                  "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      +                  "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      +                  "type": "string"
      +                },
      +                "filename": {
      +                  "example": "invoice.pdf",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "description": "Attachment blob ID.",
      +                  "type": "string"
      +                },
      +                "size_bytes": {
      +                  "example": 12345,
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "filename",
      +                "content_type",
      +                "size_bytes",
      +                "disposition",
      +                "content_id"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "body": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "extracted_links": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "format": {
      +                "enum": [
      +                  "text",
      +                  "html"
      +                ],
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "html": {
      +                "description": "HTML body when requested. Returned as a JSON string and not as rendered content.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "is_truncated": {
      +                "type": "boolean"
      +              },
      +              "quotes_stripped": {
      +                "type": "boolean"
      +              },
      +              "signature_stripped": {
      +                "type": "boolean"
      +              },
      +              "text": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "truncated_at_chars": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "format",
      +              "text",
      +              "html",
      +              "is_truncated",
      +              "truncated_at_chars",
      +              "signature_stripped",
      +              "quotes_stripped",
      +              "extracted_links"
      +            ],
      +            "type": "object"
      +          },
      +          "dates": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "received_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "sent_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "received_at",
      +              "sent_at"
      +            ],
      +            "type": "object"
      +          },
      +          "headers": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "full": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "name",
      +                    "value"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              },
      +              "mode": {
      +                "enum": [
      +                  "none",
      +                  "selected",
      +                  "full"
      +                ],
      +                "type": "string"
      +              },
      +              "selected": {
      +                "properties": {
      +                  "in_reply_to": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "message_id": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "references": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "reply_to": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "email": {
      +                          "example": "agent@example.com",
      +                          "format": "email",
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "example": "Support",
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "email",
      +                        "name"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "message_id",
      +                  "in_reply_to",
      +                  "references",
      +                  "reply_to"
      +                ],
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "mode",
      +              "selected",
      +              "full"
      +            ],
      +            "type": "object"
      +          },
      +          "id": {
      +            "description": "Message ID",
      +            "type": "string"
      +          },
      +          "participants": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "bcc": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "cc": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "from": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "email": {
      +                        "example": "agent@example.com",
      +                        "format": "email",
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "example": "Support",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "email",
      +                      "name"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "reply_to": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "to": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "from",
      +              "to",
      +              "cc",
      +              "bcc",
      +              "reply_to"
      +            ],
      +            "type": "object"
      +          },
      +          "states": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "email_state": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "option_hash": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "email_state",
      +              "option_hash"
      +            ],
      +            "type": "object"
      +          },
      +          "subject": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "thread_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "thread_id",
      +          "subject",
      +          "participants",
      +          "dates",
      +          "body",
      +          "headers",
      +          "attachments",
      +          "states"
      +        ],
      +        "type": "object"
      +      },
      +      "meta": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "request_id": {
      +            "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "request_id"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "data"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed4 schema fields changedv1.0.8
    • addedOutput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / properties
      Added value: +{
      +  "result": {
      +    "allOf": [
      +      {
      +        "properties": {
      +          "meta": {
      +            "additionalProperties": {},
      +            "properties": {},
      +            "type": "object"
      +          },
      +          "ok": {
      +            "enum": [
      +              true
      +            ],
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "meta"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "data": {
      +            "allOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "attachments": {
      +                    "description": "Attachment metadata only. Attachment contents are not parsed by this endpoint.",
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "content_id": {
      +                          "description": "Content ID for inline attachments, when present.",
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "content_type": {
      +                          "example": "application/pdf",
      +                          "type": "string"
      +                        },
      +                        "disposition": {
      +                          "example": "attachment",
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "download_url": {
      +                          "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      +                          "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      +                          "type": "string"
      +                        },
      +                        "filename": {
      +                          "example": "invoice.pdf",
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "id": {
      +                          "description": "Attachment blob ID.",
      +                          "type": "string"
      +                        },
      +                        "size_bytes": {
      +                          "example": 12345,
      +                          "type": [
      +                            "integer",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "id",
      +                        "filename",
      +                        "content_type",
      +                        "size_bytes",
      +                        "disposition",
      +                        "content_id"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "body": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "extracted_links": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "format": {
      +                        "enum": [
      +                          "text",
      +                          "html"
      +                        ],
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "html": {
      +                        "description": "HTML body when requested. Returned as a JSON string and not as rendered content.",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "is_truncated": {
      +                        "type": "boolean"
      +                      },
      +                      "quotes_stripped": {
      +                        "type": "boolean"
      +                      },
      +                      "signature_stripped": {
      +                        "type": "boolean"
      +                      },
      +                      "text": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "truncated_at_chars": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "format",
      +                      "text",
      +                      "html",
      +                      "is_truncated",
      +                      "truncated_at_chars",
      +                      "signature_stripped",
      +                      "quotes_stripped",
      +                      "extracted_links"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "dates": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "received_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "sent_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "received_at",
      +                      "sent_at"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "headers": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "full": {
      +                        "items": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "name": {
      +                              "type": "string"
      +                            },
      +                            "value": {
      +                              "type": "string"
      +                            }
      +                          },
      +                          "required": [
      +                            "name",
      +                            "value"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "type": [
      +                          "array",
      +                          "null"
      +                        ]
      +                      },
      +                      "mode": {
      +                        "enum": [
      +                          "none",
      +                          "selected",
      +                          "full"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "selected": {
      +                        "properties": {
      +                          "in_reply_to": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "message_id": {
      +                            "items": {
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "references": {
      +                            "items": {
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "reply_to": {
      +                            "items": {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "email": {
      +                                  "example": "agent@example.com",
      +                                  "format": "email",
      +                                  "type": "string"
      +                                },
      +                                "name": {
      +                                  "example": "Support",
      +                                  "type": [
      +                                    "string",
      +                                    "null"
      +                                  ]
      +                                }
      +                              },
      +                              "required": [
      +                                "email",
      +                                "name"
      +                              ],
      +                              "type": "object"
      +                            },
      +                            "type": "array"
      +                          }
      +                        },
      +                        "required": [
      +                          "message_id",
      +                          "in_reply_to",
      +                          "references",
      +                          "reply_to"
      +                        ],
      +                        "type": [
      +                          "object",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "mode",
      +                      "selected",
      +                      "full"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "id": {
      +                    "description": "Message ID",
      +                    "type": "string"
      +                  },
      +                  "participants": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "bcc": {
      +                        "items": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "email": {
      +                              "example": "agent@example.com",
      +                              "format": "email",
      +                              "type": "string"
      +                            },
      +                            "name": {
      +                              "example": "Support",
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "required": [
      +                            "email",
      +                            "name"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "cc": {
      +                        "items": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "email": {
      +                              "example": "agent@example.com",
      +                              "format": "email",
      +                              "type": "string"
      +                            },
      +                            "name": {
      +                              "example": "Support",
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "required": [
      +                            "email",
      +                            "name"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "from": {
      +                        "allOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "email": {
      +                                "example": "agent@example.com",
      +                                "format": "email",
      +                                "type": "string"
      +                              },
      +                              "name": {
      +                                "example": "Support",
      +                                "type": [
      +                                  "string",
      +                                  "null"
      +                                ]
      +                              }
      +                            },
      +                            "required": [
      +                              "email",
      +                              "name"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": [
      +                              "object",
      +                              "null"
      +                            ]
      +                          }
      +                        ]
      +                      },
      +                      "reply_to": {
      +                        "items": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "email": {
      +                              "example": "agent@example.com",
      +                              "format": "email",
      +                              "type": "string"
      +                            },
      +                            "name": {
      +                              "example": "Support",
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "required": [
      +                            "email",
      +                            "name"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "to": {
      +                        "items": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "email": {
      +                              "example": "agent@example.com",
      +                              "format": "email",
      +                              "type": "string"
      +                            },
      +                            "name": {
      +                              "example": "Support",
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "required": [
      +                            "email",
      +                            "name"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      }
      +                    },
      +                    "required": [
      +                      "from",
      +                      "to",
      +                      "cc",
      +                      "bcc",
      +                      "reply_to"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "states": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "email_state": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "option_hash": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "email_state",
      +                      "option_hash"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "subject": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "thread_id": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "thread_id",
      +                  "subject",
      +                  "participants",
      +                  "dates",
      +                  "body",
      +                  "headers",
      +                  "attachments",
      +                  "states"
      +                ],
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              {
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "meta": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "request_id": {
      +                "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "request_id"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "data"
      +        ],
      +        "type": "object"
      +      }
      +    ],
      +    "unevaluatedProperties": {
      +      "not": {}
      +    },
      +    "x-fastmcp-top-level-schema": "MailboxMessageContentResponse"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "result"
      +]
  4. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare this as read-only, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds little behavioral detail beyond the general content scope: it does not mention truncation behavior, ETag/304 semantics, mailbox scoping, or that attachment contents are excluded.

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?

The description is two sentences, front-loaded with the main action, and contains no redundant restatement of the title or schema. Every sentence contributes to identifying the tool's intended use.

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

Completeness3/5

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

The tool has 11 parameters, rich annotations, full schema coverage, and an output schema, which reduces what the description must cover. Still, with many similar mailbox-reading siblings, the description is thin on routing guidance and behavioral expectations, leaving an agent to infer when this tool is better than mailbox_get_message or mailbox_list_body.

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 description coverage is 100%, so the input schema fully documents parameters such as part, include_headers, strip_quotes, and If-None-Match. The description mentions message_id and general content categories, but adds no meaning beyond what the schema already provides.

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?

The description states a specific action and target: read structured content for a known message_id, with headers, participants, and body parts as relevant details. It is clear enough on its own, but it does not differentiate this tool from close siblings such as mailbox_get_message or mailbox_list_body.

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?

It gives a usable condition: use it for a known message_id and prefer it when headers, participants, or body parts affect the answer. However, it provides no when-not guidance and does not name alternatives among the many overlapping mailbox read tools.

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

Deploy Server

Other Tools