Skip to main content

๐Ÿ“ง Email

Use the interactive kwatch manager to configure Email alerts. It stores credentials in Kubernetes Secrets and verifies the installation. The configuration fragments below explain provider settings; they are not separate installation steps.

Sends alerts via SMTP. Uses HTML formatting for rich email content.

ParameterDescriptionRequired
alert.email.from๐Ÿ“ง Sender email addressYes
alert.email.to๐Ÿ“ง Recipient email addressYes
alert.email.password๐Ÿ”‘ SMTP password or app passwordYes
alert.email.host๐Ÿ–ฅ๏ธ SMTP server hostnameYes
alert.email.port๐Ÿ”Œ SMTP server port (e.g. 587)Yes

Configuration exampleโ€‹

alert:
email:
password: "${file:/config/email-password}"
host: "smtp.gmail.com"
port: "587"

Routing Proโ€‹

alert:
email:
password: "${file:/config/email-password}"
host: "smtp.gmail.com"
port: "587"
routes:
- namespaces: ["production"]
severities: ["high", "critical"]
- reasons: ["OOMKilled"]

Retryโ€‹

alert:
email:
password: "${file:/config/email-password}"
host: "smtp.gmail.com"
port: "587"
retry:
maxAttempts: 5
delay: 5s

Fallbackโ€‹

alert:
email:
password: "${file:/config/email-password}"
host: "smtp.gmail.com"
port: "587"
fallback: slack