SuperMailOS · Schema

Message

EmailSoftware-as-a-ServiceBusinessDomainsProductivity

Properties

Name Type Description
id string Internal message id (webhooks: `emailId`).
threadId string
mailboxId string
direction string
messageId string RFC 5322 Message-ID header, e.g. ``.
from object
to array
cc array
bcc array Present only when the key's user sent the message or was Bcc'd on it.
replyTo array Received mail's Reply-To, when it named one: where its author asked replies to go. Replying through the API uses it instead of `from`.
subject string
date string
read boolean
text string Plain-text body.
html string HTML body with scripts and event handlers removed (omitted with `?html=false`).
attachments array
auth object Present only when we verified the sender ourselves: mail someone in the workspace sent from their own mailbox (all three `pass`). Absent on other received mail: the mail server doesn't give the app an
deliveredAt string When the recipient's server accepted an outbound message.
trust object Agent keys only. `sender`: our own SPF/DKIM/DMARC verdict (`verified`, `unverified`, `failed`; `self` for mail this inbox sent). `hiddenContent`: the email carried text a person wouldn't see — `text`/
View JSON Schema on GitHub

JSON Schema

supermailos-com-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/supermailos-com/json-schema/supermailos-com-message-schema.json",
  "title": "Message",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/supermailos-com-openapi.json#/components/schemas/Message",
  "type": "object",
  "required": [
    "id",
    "threadId",
    "mailboxId",
    "direction",
    "from",
    "to",
    "cc",
    "subject",
    "date",
    "read",
    "text",
    "attachments"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Internal message id (webhooks: `emailId`)."
    },
    "threadId": {
      "type": "string"
    },
    "mailboxId": {
      "type": "string"
    },
    "direction": {
      "type": "string",
      "enum": [
        "inbound",
        "outbound"
      ]
    },
    "messageId": {
      "type": "string",
      "description": "RFC 5322 Message-ID header, e.g. `<abc@acme.com>`."
    },
    "from": {
      "$ref": "#/$defs/EmailAddress"
    },
    "to": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAddress"
      }
    },
    "cc": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAddress"
      }
    },
    "bcc": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAddress"
      },
      "description": "Present only when the key's user sent the message or was Bcc'd on it."
    },
    "replyTo": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAddress"
      },
      "description": "Received mail's Reply-To, when it named one: where its author asked replies to go. Replying through the API uses it instead of `from`."
    },
    "subject": {
      "type": "string"
    },
    "date": {
      "type": "string",
      "format": "date-time"
    },
    "read": {
      "type": "boolean"
    },
    "text": {
      "type": "string",
      "description": "Plain-text body."
    },
    "html": {
      "type": "string",
      "description": "HTML body with scripts and event handlers removed (omitted with `?html=false`)."
    },
    "attachments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Attachment"
      }
    },
    "auth": {
      "type": "object",
      "description": "Present only when we verified the sender ourselves: mail someone in the workspace sent from their own mailbox (all three `pass`). Absent on other received mail: the mail server doesn't give the app an SPF / DKIM / DMARC verdict, so none is claimed.",
      "properties": {
        "spf": {
          "type": "string"
        },
        "dkim": {
          "type": "string"
        },
        "dmarc": {
          "type": "string"
        }
      }
    },
    "deliveredAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the recipient's server accepted an outbound message."
    },
    "trust": {
      "type": "object",
      "description": "Agent keys only. `sender`: our own SPF/DKIM/DMARC verdict (`verified`, `unverified`, `failed`; `self` for mail this inbox sent). `hiddenContent`: the email carried text a person wouldn't see — `text`/`html` are the visible part only.",
      "required": [
        "sender",
        "hiddenContent"
      ],
      "properties": {
        "sender": {
          "type": "string",
          "enum": [
            "verified",
            "unverified",
            "failed",
            "self"
          ]
        },
        "hiddenContent": {
          "type": "boolean"
        },
        "signals": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "What was removed, e.g. `2 hidden elements`."
        }
      }
    }
  },
  "$defs": {
    "Attachment": {
      "type": "object",
      "required": [
        "id",
        "filename",
        "contentType",
        "size",
        "inline",
        "url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "filename": {
          "type": "string"
        },
        "contentType": {
          "type": "string"
        },
        "size": {
          "type": "integer",
          "description": "Bytes."
        },
        "inline": {
          "type": "boolean",
          "description": "Embedded in the HTML body via `cid:` rather than attached as a file."
        },
        "contentId": {
          "type": "string",
          "description": "Matches `cid:` references in the HTML body."
        },
        "url": {
          "type": "string",
          "description": "Download path (`GET`, same bearer key)."
        }
      }
    },
    "EmailAddress": {
      "type": "object",
      "required": [
        "email"
      ],
      "properties": {
        "email": {
          "type": "string",
          "format": "email"
        },
        "name": {
          "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/supermailos-com-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.