v1.0.6
Release notes — v1.0.6
Built-in SMTP email notifications
Watchdog can now send configurable email notifications directly through an SMTP server.
What’s new
- Send one failure notification when a service first becomes unavailable.
- Suppress duplicate emails while the same incident continues.
- Send a recovery notification after remediation succeeds and the service becomes healthy again.
- Configure SMTP connection settings, recipients, TLS options, timeouts, subjects, and message bodies through YAML.
- Load SMTP passwords securely from an environment variable using
password_env. - Customize messages with template variables such as:
{{service}}{{event}}{{timestamp}}{{check_type}}{{detail}}{{http_status}}{{check_exit}}{{action_status}}
- Added strict validation for SMTP and email configuration.
- Added a complete SMTP configuration example.
- Added automated coverage for failure notifications, duplicate suppression, and recovery notifications.
- Updated CI, documentation, dependency checks, and the built-in version information.
For production installations, storing the SMTP password in an environment variable is recommended instead of placing it directly in YAML.