diff --git a/ui/litellm-dashboard/src/components/email_settings.tsx b/ui/litellm-dashboard/src/components/email_settings.tsx
index 53d08ad64f5..df2627c2e78 100644
--- a/ui/litellm-dashboard/src/components/email_settings.tsx
+++ b/ui/litellm-dashboard/src/components/email_settings.tsx
@@ -1,44 +1,44 @@
import React from "react";
-import { Card, Text, Grid, Button, TextInput, TableCell } from "@tremor/react";
-import { Typography } from "antd";
+import { Button } from "@/components/ui/button";
+import { Card } from "@/components/ui/card";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
import NotificationManager from "./molecules/notifications_manager";
import { serviceHealthCheck, setCallbacksCall } from "./networking";
import { EmailEventSettings } from "./email_events";
-const { Title } = Typography;
-
interface EmailSettingsProps {
accessToken: string | null;
premiumUser: boolean;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
alerts: any[];
}
-const EmailSettings: React.FC
+
LiteLLM Docs: email alerts
- {" "}
- Email Server Settings
+
-
+
{key === "SMTP_HOST" && ( -
smtp.resend.com
+
+ {" "}
+ Required *
+
+
)}
-
{key === "SMTP_PORT" && (
- 587
+
+ {" "}
+ Required *
+
+
)}
-
{key === "SMTP_USERNAME" && (
- username
+
+ {" "}
+ Required *
+
+
+ )}
+ {key === "SMTP_PASSWORD" && (
+
+ {" "}
+ Required *
+
)}
-
- {key === "SMTP_PASSWORD" && Required * }
-
{key === "SMTP_SENDER_EMAIL" && (
- sender@berri.ai
+
+ {" "}
+ Required *
+
+
)}
-
{key === "TEST_EMAIL_ADDRESS" && (
- Test Email Alert{" "}
+ to. example: info@berri.ai
+
+ {" "}
+ Required *
+
+
)}
{key === "EMAIL_LOGO_URL" && (
-