{
  "type": "object",
  "description": "The email message configuration",
  "properties": {
    "to": {
      "type": "string",
      "description": "The recipient's email address",
      "format": "email",
      "example": "recipient@example.com"
    },
    "from": {
      "type": "string",
      "description": "Override the from address (must be verified)",
      "format": "email",
      "example": "noreply@yourcompany.com"
    },
    "sendId": {
      "type": "string",
      "description": "A unique ID to prevent duplicate sends",
      "example": "unique-send-id-123"
    },
    "replyTo": {
      "type": "array",
      "description": "Reply-to email addresses",
      "example": [
        "support@yourcompany.com"
      ],
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "cc": {
      "type": "array",
      "description": "CC email addresses",
      "example": [
        "jsmith@example.com"
      ],
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "bcc": {
      "type": "array",
      "description": "BCC email addresses",
      "example": [
        "jsmith@example.com"
      ],
      "items": {
        "type": "string",
        "format": "email"
      }
    }
  },
  "required": [
    "to"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "EmailMessage"
}