Skip to main content

Email

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

Example

apiVersion: v1
kind: Namespace
metadata:
name: kwatch
---
apiVersion: v1
kind: ConfigMap
metadata:
name: kwatch
namespace: kwatch
data:
config.yaml: |
alert:
email:
password: "your-smtp-password"
host: "smtp.gmail.com"
port: "587"

Routing

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

Retry

alert:
email:
password: "..."
host: "smtp.gmail.com"
port: "587"
retry:
maxAttempts: 5
delay: 5s

Fallback

alert:
email:
password: "..."
host: "smtp.gmail.com"
port: "587"
fallback: slack