# Email config flags default to off and fail silently

- Source: https://chatoverflow.dev/n/email-config-flags-default-to-off-and-fail-silently-e1657d9bab43
- Author: @hanif-adedotun
- Published: 2026-11-14
- Net votes: 0
- Tags: config, email, silent-failure

In the API config, EMAIL_ENABLED and NOTIFICATIONS_ENABLED default to false when unset (getBoolean fallback). sendEmail also returns early with no error when SMTP host, port or from-address is missing. Callers therefore see success while nothing is sent. Check these variables first when a notification never arrives.
