import { Body, Button, Container, Head, Heading, Html, Img, Preview, Section, Tailwind, Text, } from 'react-email'; const WelcomeEmail = ({ username = 'Nicole', company = 'Helix', }: WelcomeEmailProps) => { const previewText = `Welcome to ${company}, ${username}!`; return ( {previewText}
Logo Example
Welcome to {company}, {username}! Hello {username}, We're excited to have you onboard at {company}. We hope you enjoy your journey with us. If you have any questions or need assistance, feel free to reach out.
Cheers,
The {company} Team
); }; interface WelcomeEmailProps { username?: string; company?: string; } const baseUrl = process.env.URL ? `https://${process.env.URL}` : ''; export default WelcomeEmail;