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​

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