diff --git a/backend/internal/notifications/router.go b/backend/internal/notifications/router.go index afa17a97..4821ec44 100644 --- a/backend/internal/notifications/router.go +++ b/backend/internal/notifications/router.go @@ -17,6 +17,8 @@ func (r *Router) ShouldUseNotify(providerType string, flags map[string]bool) boo switch strings.ToLower(providerType) { case "discord": return flags[FlagDiscordServiceEnabled] + case "email": + return flags[FlagEmailServiceEnabled] case "gotify": return flags[FlagGotifyServiceEnabled] case "webhook":