{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mandiant/json-schema/mandiant-email-profile-wrapped-schema.json",
  "title": "email_profile_wrapped",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/mandiant-email-profiles-api-openapi.yml#/components/schemas/email_profile_wrapped",
  "type": "object",
  "properties": {
    "email_profile": {
      "$ref": "#/$defs/email_profile"
    }
  },
  "$defs": {
    "email_profile": {
      "type": "object",
      "properties": {
        "account_password": {
          "type": "string",
          "description": "Password for email account"
        },
        "account_username": {
          "type": "string",
          "description": "Valid email address for profile"
        },
        "associated_node_ids": {
          "description": "IDs for actors to be associated with this Email Profile. Must be an array of integers.\n"
        },
        "server_address": {
          "type": "string",
          "description": "Hostname or IP address of email server."
        },
        "server_port": {
          "type": "integer",
          "minimum": 1,
          "maximum": 65535,
          "description": "Port to use for the incoming email server"
        },
        "server_smtp_port": {
          "type": "integer",
          "minimum": 1,
          "maximum": 65535,
          "description": "Port to use for the SMTP server"
        },
        "server_type": {
          "type": "string",
          "enum": [
            "pop3",
            "pop3_ssl",
            "imap",
            "imap_ssl",
            "imap_starttls"
          ],
          "description": "String indicating type of incoming email server"
        }
      }
    }
  }
}