{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/softsync-ai/json-schema/softsync-ai-send-email-dto-schema.json",
  "title": "SendEmailDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/softsync-ai-email-api-openapi.yml#/components/schemas/SendEmailDto",
  "type": "object",
  "properties": {
    "templateId": {
      "type": "string",
      "description": "Template to send. Create one first with createEmailTemplate."
    },
    "recordId": {
      "type": "string",
      "description": "Record to send to, e.g. a contact. Its email field supplies the recipient address and its values fill the template placeholders."
    },
    "integrationId": {
      "type": "string",
      "description": "Mailbox to send from. Defaults to the caller’s first connected mailbox."
    }
  },
  "required": [
    "templateId",
    "recordId"
  ]
}