Botmail · Schema

Message

Artificial IntelligenceEmailMessagingAutomationBotmail

Properties

Name Type Description
id string
thread_id string
mailbox_id string
uid integer Monotonic per-mailbox counter.
direction string
status string Inbound: `received`, or `held` (account over storage quota; body hidden until released). Outbound: `queued`, `held`, `blocked`, `sent`, `delivered`, `bounced`, `complained`, `failed`.
status_reason string Outbound only, on GET /v1/messages/{id}: why the message is held, blocked, bounced, complained or failed (e.g. the classifier verdict).
message_id_header string Message-ID without angle brackets.
in_reply_to string
references array
from string
from_name string
to array
cc array
bcc array
reply_to string
subject string
snippet string
text string Plain-text body (up to 64 KB; full body via `/raw`). Empty for held messages.
size_bytes integer
has_attachments boolean
attachments array
auto_submitted boolean Sent by an automated system.
verdicts object
seen boolean
starred boolean
labels array
sent_at string
created_at string
View JSON Schema on GitHub

JSON Schema

botmail-pro-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/botmail-pro/json-schema/botmail-pro-message-schema.json",
  "title": "Message",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/botmail-pro-mail-api-openapi.yml#/components/schemas/Message",
  "type": "object",
  "required": [
    "id",
    "thread_id",
    "mailbox_id",
    "uid",
    "direction",
    "status",
    "message_id_header",
    "from",
    "to",
    "subject",
    "snippet",
    "size_bytes",
    "has_attachments",
    "auto_submitted",
    "verdicts",
    "seen",
    "starred",
    "labels",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "thread_id": {
      "type": "string"
    },
    "mailbox_id": {
      "type": "string"
    },
    "uid": {
      "type": "integer",
      "format": "int64",
      "description": "Monotonic per-mailbox counter."
    },
    "direction": {
      "type": "string",
      "enum": [
        "in",
        "out"
      ]
    },
    "status": {
      "type": "string",
      "description": "Inbound: `received`, or `held` (account over storage quota; body\nhidden until released). Outbound: `queued`, `held`, `blocked`,\n`sent`, `delivered`, `bounced`, `complained`, `failed`.\n"
    },
    "status_reason": {
      "type": "string",
      "description": "Outbound only, on GET /v1/messages/{id}: why the message is held,\nblocked, bounced, complained or failed (e.g. the classifier verdict).\n"
    },
    "message_id_header": {
      "type": "string",
      "description": "Message-ID without angle brackets."
    },
    "in_reply_to": {
      "type": "string"
    },
    "references": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "from": {
      "type": "string"
    },
    "from_name": {
      "type": "string"
    },
    "to": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cc": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "bcc": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "reply_to": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "snippet": {
      "type": "string"
    },
    "text": {
      "type": "string",
      "description": "Plain-text body (up to 64 KB; full body via `/raw`). Empty for held messages."
    },
    "size_bytes": {
      "type": "integer",
      "format": "int64"
    },
    "has_attachments": {
      "type": "boolean"
    },
    "attachments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AttachmentMeta"
      }
    },
    "auto_submitted": {
      "type": "boolean",
      "description": "Sent by an automated system."
    },
    "verdicts": {
      "$ref": "#/$defs/Verdicts"
    },
    "seen": {
      "type": "boolean"
    },
    "starred": {
      "type": "boolean"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sent_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "AttachmentMeta": {
      "type": "object",
      "required": [
        "id",
        "part_index",
        "filename",
        "content_type",
        "inline",
        "size_bytes"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "part_index": {
          "type": "integer"
        },
        "filename": {
          "type": "string"
        },
        "content_type": {
          "type": "string"
        },
        "content_id": {
          "type": "string"
        },
        "inline": {
          "type": "boolean"
        },
        "size_bytes": {
          "type": "integer",
          "format": "int64"
        }
      }
    },
    "Verdicts": {
      "type": "object",
      "description": "Inbound authentication and scanning results (PASS, FAIL, GRAY, …).",
      "properties": {
        "spam": {
          "type": "string"
        },
        "virus": {
          "type": "string"
        },
        "spf": {
          "type": "string"
        },
        "dkim": {
          "type": "string"
        },
        "dmarc": {
          "type": "string"
        }
      }
    }
  }
}

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/botmail-pro-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.