{
  "name": "email-send",
  "title": "Send an email via SMTP",
  "description": "Send a plain-text email through an authenticated SMTP submission server (STARTTLS), with the password read from a Kubernetes Secret.",
  "category": "Notifications",
  "tags": [
    "curl",
    "notifications"
  ],
  "latestVersion": "1.0.1",
  "versions": [
    "1.0.1",
    "1.0.0"
  ],
  "parameters": [
    "body",
    "from",
    "smtp-host",
    "smtp-username",
    "subject",
    "to",
    "password-secret-key",
    "password-secret-name",
    "smtp-port"
  ],
  "images": [
    "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/email-send.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/email-send/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/email-send/",
  "entrypoint": "send",
  "parameterDetails": [
    {
      "name": "body",
      "title": "Body",
      "description": "Plain-text message body.",
      "type": "string",
      "required": true
    },
    {
      "name": "from",
      "title": "From",
      "description": "Envelope sender / From header address.",
      "type": "string",
      "required": true,
      "example": "alerts@example.com"
    },
    {
      "name": "smtp-host",
      "title": "SMTP host",
      "description": "Hostname of the SMTP submission server.",
      "type": "string",
      "required": true,
      "example": "smtp.example.com"
    },
    {
      "name": "smtp-username",
      "title": "SMTP username",
      "description": "Username for SMTP AUTH. Often the same as the From address.",
      "type": "string",
      "required": true
    },
    {
      "name": "subject",
      "title": "Subject",
      "description": "Subject line of the email.",
      "type": "string",
      "required": true
    },
    {
      "name": "to",
      "title": "To",
      "description": "Recipient email address.",
      "type": "string",
      "required": true,
      "example": "ops@example.com"
    },
    {
      "name": "password-secret-key",
      "title": "Password secret key",
      "description": "Key within the Secret that holds the SMTP password.",
      "type": "string",
      "required": false,
      "default": "password"
    },
    {
      "name": "password-secret-name",
      "title": "Password secret name",
      "description": "Name of the Kubernetes Secret in the run namespace holding the SMTP password.",
      "type": "string",
      "required": false,
      "default": "smtp-password"
    },
    {
      "name": "smtp-port",
      "title": "SMTP port",
      "description": "Port of the SMTP submission server (587 is STARTTLS submission).",
      "type": "string",
      "required": false,
      "default": "587"
    }
  ],
  "imageDetails": [
    {
      "ref": "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93",
      "repository": "curlimages/curl",
      "digest": "sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.1",
      "date": "2026-08-02",
      "notes": "Move curlimages/curl from 8.11.1 to 8.21.0. Fixable CRITICAL/HIGH drops from 26 to 1.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/email-send/1.0.1.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/email-send/1.0.1/template.yaml"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-16",
      "notes": "Initial release.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/email-send/1.0.0.json"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/email-send",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
