{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aveco-app/json-schema/aveco-app-body-email-mailbox-create-api-infrastructure-email-mailboxes-create-post-schema.json",
  "title": "Body_email_mailbox_create_api_infrastructure_email_mailboxes_create_post",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aveco-app-infrastructure-api-openapi.yml#/components/schemas/Body_email_mailbox_create_api_infrastructure_email_mailboxes_create_post",
  "properties": {
    "from_email": {
      "type": "string",
      "title": "From Email"
    },
    "display_name": {
      "type": "string",
      "title": "Display Name",
      "default": ""
    },
    "sender_name": {
      "type": "string",
      "title": "Sender Name",
      "default": ""
    },
    "sender_role": {
      "type": "string",
      "title": "Sender Role",
      "default": ""
    },
    "sender_company": {
      "type": "string",
      "title": "Sender Company",
      "default": ""
    },
    "sender_phone": {
      "type": "string",
      "title": "Sender Phone",
      "default": ""
    },
    "sender_telegram": {
      "type": "string",
      "title": "Sender Telegram",
      "default": ""
    },
    "signature_html": {
      "type": "string",
      "title": "Signature Html",
      "default": ""
    },
    "smtp_host": {
      "type": "string",
      "title": "Smtp Host"
    },
    "smtp_port": {
      "type": "integer",
      "title": "Smtp Port",
      "default": 587
    },
    "smtp_user": {
      "type": "string",
      "title": "Smtp User"
    },
    "smtp_password": {
      "type": "string",
      "title": "Smtp Password",
      "default": ""
    },
    "encryption": {
      "type": "string",
      "title": "Encryption",
      "default": "starttls"
    },
    "daily_limit": {
      "type": "integer",
      "title": "Daily Limit",
      "default": 100
    },
    "daily_limit_min": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Daily Limit Min"
    },
    "pacing_min_delay_minutes": {
      "type": "integer",
      "title": "Pacing Min Delay Minutes",
      "default": 20
    },
    "pacing_max_delay_minutes": {
      "type": "integer",
      "title": "Pacing Max Delay Minutes",
      "default": 45
    },
    "pacing_jitter_seconds": {
      "type": "integer",
      "title": "Pacing Jitter Seconds",
      "default": 120
    },
    "imap_enabled": {
      "type": "boolean",
      "title": "Imap Enabled",
      "default": false
    },
    "imap_host": {
      "type": "string",
      "title": "Imap Host",
      "default": ""
    },
    "imap_port": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Imap Port"
    },
    "imap_user": {
      "type": "string",
      "title": "Imap User",
      "default": ""
    },
    "imap_password": {
      "type": "string",
      "title": "Imap Password",
      "default": ""
    },
    "imap_encryption": {
      "type": "string",
      "title": "Imap Encryption",
      "default": "ssl"
    }
  },
  "type": "object",
  "required": [
    "from_email",
    "smtp_host",
    "smtp_user"
  ]
}