{
  "type": "featherpanel.settings.category",
  "id": "email",
  "name": "Email",
  "description": "Email configuration settings",
  "icon": "mail",
  "setting_keys": [
    "smtp_enabled",
    "smtp_host",
    "smtp_port",
    "smtp_user",
    "smtp_pass",
    "smtp_from",
    "smtp_encryption"
  ],
  "settings_count": 7,
  "settings": [
    {
      "key": "smtp_enabled",
      "constant": "SMTP_ENABLED",
      "description": "The SMTP enabled of the application",
      "type": "select",
      "required": true,
      "placeholder": "false",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "email",
      "sensitive": false
    },
    {
      "key": "smtp_host",
      "constant": "SMTP_HOST",
      "description": "The SMTP host of the application",
      "type": "text",
      "required": true,
      "placeholder": "localhost",
      "validation": "required|string|max:255",
      "options": [],
      "category": "email",
      "sensitive": false
    },
    {
      "key": "smtp_port",
      "constant": "SMTP_PORT",
      "description": "The SMTP port of the application",
      "type": "number",
      "required": true,
      "placeholder": "587",
      "validation": "required|integer|min:1|max:65535",
      "options": [],
      "category": "email",
      "sensitive": false
    },
    {
      "key": "smtp_user",
      "constant": "SMTP_USER",
      "description": "The SMTP user of the application",
      "type": "text",
      "required": true,
      "placeholder": "example@example.com",
      "validation": "required|string|max:255",
      "options": [],
      "category": "email",
      "sensitive": false
    },
    {
      "key": "smtp_pass",
      "constant": "SMTP_PASS",
      "description": "The SMTP password of the application",
      "type": "password",
      "required": true,
      "placeholder": "Enter password to change",
      "validation": "string|max:255",
      "options": [],
      "category": "email",
      "sensitive": true
    },
    {
      "key": "smtp_from",
      "constant": "SMTP_FROM",
      "description": "The SMTP from of the application",
      "type": "text",
      "required": true,
      "placeholder": "noreply@featherpanel.com",
      "validation": "required|string|max:255",
      "options": [],
      "category": "email",
      "sensitive": false
    },
    {
      "key": "smtp_encryption",
      "constant": "SMTP_ENCRYPTION",
      "description": "SMTP encryption: starttls/tls for port 587 (e.g. Brevo), ssl for port 465 SMTPS, none for plain SMTP",
      "type": "select",
      "required": true,
      "placeholder": "starttls",
      "validation": "required|string|in:starttls,tls,ssl,none",
      "options": [
        "starttls",
        "tls",
        "ssl",
        "none"
      ],
      "category": "email",
      "sensitive": false
    }
  ]
}
