diff --git a/litellm/integrations/slack_alerting.py b/litellm/integrations/slack_alerting.py index 8c271c6844f..8f8eb514f87 100644 --- a/litellm/integrations/slack_alerting.py +++ b/litellm/integrations/slack_alerting.py @@ -1204,7 +1204,9 @@ Model Info: return False from litellm.proxy.proxy_server import premium_user, prisma_client - email_logo_url = os.getenv("SMTP_SENDER_LOGO", None) + email_logo_url = os.getenv( + "SMTP_SENDER_LOGO", os.getenv("EMAIL_LOGO_URL", None) + ) email_support_contact = os.getenv("EMAIL_SUPPORT_CONTACT", None) await self._check_if_using_premium_email_feature( premium_user, email_logo_url, email_support_contact @@ -1304,7 +1306,9 @@ Model Info: from litellm.proxy.proxy_server import premium_user, prisma_client - email_logo_url = os.getenv("SMTP_SENDER_LOGO", None) + email_logo_url = os.getenv( + "SMTP_SENDER_LOGO", os.getenv("EMAIL_LOGO_URL", None) + ) email_support_contact = os.getenv("EMAIL_SUPPORT_CONTACT", None) await self._check_if_using_premium_email_feature( premium_user, email_logo_url, email_support_contact diff --git a/litellm/proxy/_super_secret_config.yaml b/litellm/proxy/_super_secret_config.yaml index c6b0bb01101..48d4294cb8d 100644 --- a/litellm/proxy/_super_secret_config.yaml +++ b/litellm/proxy/_super_secret_config.yaml @@ -56,3 +56,7 @@ router_settings: litellm_settings: success_callback: ["langfuse"] + +general_settings: + alerting: ["email"] +