startApp({
email: {
provider: resendProvider,
from: '[email protected]',
verification: {
subject: 'Welcome! Please verify your email',
template: ({ name, email, verificationUrl }) => `
<html>
<body>
<h1>Welcome to Our App!</h1>
<p>Hi ${name || 'there'},</p>
<p>Please click the button below to verify your email address:</p>
<a href="${verificationUrl}"
style="background-color: #5509D9; color: white; padding: 12px 24px; text-decoration: none; border-radius: 6px; display: inline-block;">
Verify Email
</a>
<p>Or copy and paste this link: ${verificationUrl}</p>
</body>
</html>
`,
redirectUrl: 'https://yourdomain.com/email-verified',
},
},
});