import { Link, Text } from '@react-email/components' import { baseStyles } from '@/components/emails/_styles' import { EmailLayout } from '@/components/emails/components' import { getBaseUrl } from '@/lib/core/utils/urls' import { getBrandConfig } from '@/ee/whitelabeling' interface WelcomeEmailProps { userName?: string } export function WelcomeEmail({ userName }: WelcomeEmailProps) { const brand = getBrandConfig() const baseUrl = getBaseUrl() return ( {userName ? `Hey ${userName},` : 'Hey,'} Welcome to {brand.name}! Your account is ready. Start building, testing, and deploying AI workflows in minutes. Get Started If you have any questions or feedback, just reply to this email. I read every message! Want to chat?{' '} Schedule a call {' '} with our team. - Emir, co-founder of {brand.name} {/* Divider */}
You're on the Community plan with 1,000 credits to get started. ) } export default WelcomeEmail