send0 · Schema

Message

EmailArtificial IntelligenceOpen SourceCommunications

Properties

Name Type Description
object string
id string
inbox_id string
thread_id string
direction string
status string
expired boolean true once the inbox's retention period has passed: text, html, extracted_text, extracted and attachments are gone (null or empty) and the raw message can't be downloaded. Addresses, subject, status an
rfc_message_id stringnull
in_reply_to array
references array
from object
to array
cc array
reply_to array
subject string
text stringnull
html stringnull Only on single-message reads and threads with include_html=true
extracted_text stringnull New text only: quoted history, forwards and signatures removed
extracted object
auth object
safety object
tag stringnull Plus-address tag, e.g. task42 for bot+task42@
attachments array
size integer
sent_at object
received_at object
created_at string
View JSON Schema on GitHub

JSON Schema

send0-dev-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Message",
  "title": "Message",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/send0-dev-openapi.json#/components/schemas/Message",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "const": "message"
    },
    "id": {
      "type": "string"
    },
    "inbox_id": {
      "type": "string"
    },
    "thread_id": {
      "type": "string"
    },
    "direction": {
      "type": "string",
      "enum": [
        "in",
        "out"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "received",
        "queued",
        "sent",
        "delivered",
        "bounced",
        "complained",
        "failed"
      ]
    },
    "expired": {
      "type": "boolean",
      "description": "true once the inbox's retention period has passed: text, html, extracted_text, extracted and attachments are gone (null or empty) and the raw message can't be downloaded. Addresses, subject, status and timestamps remain until the message is deleted, 35 days after it was created."
    },
    "rfc_message_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "in_reply_to": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "references": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "from": {
      "anyOf": [
        {
          "$ref": "#/$defs/Mailbox"
        },
        {
          "type": "null"
        }
      ]
    },
    "to": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Mailbox"
      }
    },
    "cc": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Mailbox"
      }
    },
    "reply_to": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Mailbox"
      }
    },
    "subject": {
      "type": "string"
    },
    "text": {
      "type": [
        "string",
        "null"
      ]
    },
    "html": {
      "description": "Only on single-message reads and threads with include_html=true",
      "type": [
        "string",
        "null"
      ]
    },
    "extracted_text": {
      "description": "New text only: quoted history, forwards and signatures removed",
      "type": [
        "string",
        "null"
      ]
    },
    "extracted": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "otp": {
              "description": "Most likely one-time code",
              "type": [
                "string",
                "null"
              ]
            },
            "links": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "action_link": {
              "description": "Most likely verify / sign-in / reset link",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "otp",
            "links",
            "action_link"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "auth": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "spf": {
              "type": "string"
            },
            "dkim": {
              "type": "string"
            },
            "dmarc": {
              "type": "string"
            }
          },
          "required": [
            "spf",
            "dkim",
            "dmarc"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "safety": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "prompt_injection": {
              "type": "string",
              "enum": [
                "none",
                "suspected",
                "likely"
              ]
            },
            "reasons": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "prompt_injection",
            "reasons"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "tag": {
      "description": "Plus-address tag, e.g. task42 for bot+task42@",
      "type": [
        "string",
        "null"
      ]
    },
    "attachments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Attachment"
      }
    },
    "size": {
      "type": "integer"
    },
    "sent_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    },
    "received_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "object",
    "id",
    "inbox_id",
    "thread_id",
    "direction",
    "status",
    "expired",
    "rfc_message_id",
    "in_reply_to",
    "references",
    "from",
    "to",
    "cc",
    "reply_to",
    "subject",
    "text",
    "extracted_text",
    "extracted",
    "auth",
    "safety",
    "tag",
    "attachments",
    "size",
    "sent_at",
    "received_at",
    "created_at"
  ],
  "additionalProperties": false,
  "$defs": {
    "Attachment": {
      "$id": "#/components/schemas/Attachment",
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "filename": {
          "type": [
            "string",
            "null"
          ]
        },
        "content_type": {
          "type": "string"
        },
        "size": {
          "type": "integer"
        },
        "inline": {
          "type": "boolean"
        },
        "content_id": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "filename",
        "content_type",
        "size",
        "inline",
        "content_id"
      ],
      "additionalProperties": false
    },
    "Mailbox": {
      "$id": "#/components/schemas/Mailbox",
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "email"
      ],
      "additionalProperties": false
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/send0-dev-message"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.