import * as React from "react"; import EmailLayout from "./email-layout"; import {Heading, Text, Section, Button} from "@react-email/components"; import {getServerUrl} from "@/utils/get-server-url"; import {env} from "@/env.mjs"; interface EmailCreateUserProps { email: string; password?: string; } export const EmailCreateUser = ({email, password}: EmailCreateUserProps) => { const baseUrl = getServerUrl(); return ( Your account on {env.PROJECT_NAME} has just been created! Email: {email} {password ? ( Default password: {password} ) : ( You can log in using one of the single sign-on (SSO) providers configured by your administrator. )}
); }; export default EmailCreateUser;