Mektup · Schema

MessageBase

EmailAI AgentsSoftware-as-a-ServiceProgrammable

Properties

Name Type Description
id string
direction string
from_address stringnull
to_address stringnull
subject stringnull
size_bytes integer
received_at string
read_at stringnull
deleted_at stringnull
flagged_at stringnull
folder_id stringnull
delivery_status stringnull Only ever populated for direction=outbound. null means either too recent to have a result yet, or delivered locally to another Mektup mailbox rather than over external SMTP.
delivery_detail stringnull The real SMTP response text from the recipient's mail server (Mektup has no relayhost, so its own MTA does the delivery attempt directly) - not a synthesized summary.
delivery_checked_at stringnull
View JSON Schema on GitHub

JSON Schema

usemektup-com-message-base-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usemektup-com/json-schema/usemektup-com-message-base-schema.json",
  "title": "MessageBase",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usemektup-com-openapi.yaml#/components/schemas/MessageBase",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "direction": {
      "type": "string",
      "enum": [
        "inbound",
        "outbound"
      ]
    },
    "from_address": {
      "type": [
        "string",
        "null"
      ]
    },
    "to_address": {
      "type": [
        "string",
        "null"
      ]
    },
    "subject": {
      "type": [
        "string",
        "null"
      ]
    },
    "size_bytes": {
      "type": "integer"
    },
    "received_at": {
      "type": "string",
      "format": "date-time"
    },
    "read_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "deleted_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "flagged_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "folder_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "delivery_status": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "sent",
        "deferred",
        "bounced",
        null
      ],
      "description": "Only ever populated for direction=outbound. null means either too recent to have a result yet, or delivered locally to another Mektup mailbox rather than over external SMTP."
    },
    "delivery_detail": {
      "type": [
        "string",
        "null"
      ],
      "description": "The real SMTP response text from the recipient's mail server (Mektup has no relayhost, so its own MTA does the delivery attempt directly) - not a synthesized summary."
    },
    "delivery_checked_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}

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/usemektup-com-message-base"
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.