{
  "name": "email-send",
  "title": "Send an email via SMTP",
  "category": "Notifications",
  "tags": [
    "curl",
    "notifications"
  ],
  "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",
  "entrypoint": "send",
  "parameters": [
    {
      "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"
    }
  ],
  "images": [
    {
      "ref": "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93",
      "repository": "curlimages/curl",
      "digest": "sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/email-send",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
