Mailbuttons · Schema

FullEmailMessage

AI AgentsQuoting

Properties

Name Type Description
attachments array
from stringnull
id string
in_reply_to arraynull
message_id arraynull
received_at stringnull
references arraynull
subject stringnull
text_body stringnull
thread_id stringnull
to arraynull
View JSON Schema on GitHub

JSON Schema

mailbuttons-com-full-email-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mailbuttons-com/json-schema/mailbuttons-com-full-email-message-schema.json",
  "title": "FullEmailMessage",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mailbuttons-com-openapi.json#/components/schemas/FullEmailMessage",
  "properties": {
    "attachments": {
      "items": {
        "$ref": "#/$defs/AttachmentMeta"
      },
      "type": "array"
    },
    "from": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": "string"
    },
    "in_reply_to": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "message_id": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "received_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "references": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "subject": {
      "type": [
        "string",
        "null"
      ]
    },
    "text_body": {
      "type": [
        "string",
        "null"
      ]
    },
    "thread_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "to": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "thread_id",
    "subject",
    "from",
    "to",
    "received_at",
    "text_body",
    "message_id",
    "in_reply_to",
    "references",
    "attachments"
  ],
  "type": "object",
  "$defs": {
    "AttachmentMeta": {
      "description": "Metadata for one attachment. Fetch its bytes separately via\n`GET .../messages/{email_id}/attachments/{blob_id}`.\n",
      "properties": {
        "blob_id": {
          "type": "string"
        },
        "content_type": {
          "type": "string"
        },
        "filename": {
          "type": "string"
        },
        "size": {
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "blob_id",
        "filename",
        "content_type",
        "size"
      ],
      "type": "object"
    }
  }
}

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/mailbuttons-com-full-email-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.