MepMail · Schema

SendEmailRequest

EmailServicesCommunicationsDevelopers

Properties

Name Type Description
from string Sender, "Name " or bare address; the domain must be verified for the team
to object Recipient address or list of up to 50
subject string Subject line
html string HTML body; at least one of html/text is required
text string Plain-text body; at least one of html/text is required
cc object Cc address or list
bcc object Bcc address or list
reply_to object Reply-To address or list
scheduled_at string Deliver later: ISO 8601 with offset, or relative like "in 2 hours" (an ISO 8601 datetime with offset (e.g. "2026-09-01T12:00:00Z") or a relative time like "in 5 mins", "in 2 hours", or "in 1 day"); ma
tags array Key/value labels attached to the email for filtering
topic_id stringnull Topic id: recipients opted out of the topic are skipped and an unsubscribe link is added
attachments array Attachments with base64 content (no remote paths)
headers object Extra message headers (transport headers are rejected)
template object Not supported yet: any value is a 422. Send html/text instead
View JSON Schema on GitHub

JSON Schema

mepmail-dev-send-email-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mepmail-dev/json-schema/mepmail-dev-send-email-request-schema.json",
  "title": "SendEmailRequest",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mepmail-dev-api-openapi.json#/components/schemas/SendEmailRequest",
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "Sender, \"Name <user@domain>\" or bare address; the domain must be verified for the team"
    },
    "to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "maxItems": 50
        }
      ],
      "description": "Recipient address or list of up to 50"
    },
    "subject": {
      "type": "string",
      "minLength": 1,
      "description": "Subject line"
    },
    "html": {
      "type": "string",
      "description": "HTML body; at least one of html/text is required"
    },
    "text": {
      "type": "string",
      "description": "Plain-text body; at least one of html/text is required"
    },
    "cc": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "maxItems": 50
        }
      ],
      "description": "Cc address or list"
    },
    "bcc": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "maxItems": 50
        }
      ],
      "description": "Bcc address or list"
    },
    "reply_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "maxItems": 50
        }
      ],
      "description": "Reply-To address or list"
    },
    "scheduled_at": {
      "type": "string",
      "description": "Deliver later: ISO 8601 with offset, or relative like \"in 2 hours\" (an ISO 8601 datetime with offset (e.g. \"2026-09-01T12:00:00Z\") or a relative time like \"in 5 mins\", \"in 2 hours\", or \"in 1 day\"); max 30 days ahead"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ]
      },
      "description": "Key/value labels attached to the email for filtering"
    },
    "topic_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Topic id: recipients opted out of the topic are skipped and an unsubscribe link is added"
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string",
            "minLength": 1
          },
          "content": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "content_id": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "filename"
        ]
      },
      "description": "Attachments with base64 content (no remote paths)"
    },
    "headers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Extra message headers (transport headers are rejected)"
    },
    "template": {
      "description": "Not supported yet: any value is a 422. Send html/text instead"
    }
  },
  "required": [
    "from",
    "to",
    "subject"
  ]
}

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/mepmail-dev-send-email-request"
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.