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 EnterpriseSubscriptionEmailProps { userName?: string loginLink?: string } export function EnterpriseSubscriptionEmail({ userName = 'Valued User', loginLink, }: EnterpriseSubscriptionEmailProps) { const brand = getBrandConfig() const baseUrl = getBaseUrl() const effectiveLoginLink = loginLink || `${baseUrl}/login` return ( Hello {userName}, Your Enterprise Plan is now active. You have full access to advanced features and increased capacity for your workflows. Open {brand.name} Next steps:
• Invite teammates to your organization
• Start building your workflows
{/* Divider */}
Questions? Reply to this email or contact us at{' '} {brand.supportEmail} ) } export default EnterpriseSubscriptionEmail