startApp({
email: {
provider: resendProvider,
from: '[email protected]',
passwordReset: {
subject: 'Reset Your Password',
template: ({ name, email, resetUrl }) => `
<html>
<body>
<h1>Password Reset Request</h1>
<p>Hi ${name || 'there'},</p>
<p>We received a request to reset your password. Click the button below to proceed:</p>
<a href="${resetUrl}"
style="background-color: #5509D9; color: white; padding: 12px 24px; text-decoration: none; border-radius: 6px; display: inline-block;">
Reset Password
</a>
<p>If you didn't request this, you can safely ignore this email.</p>
<p>This link will expire in 1 hour.</p>
</body>
</html>
`,
redirectUrl: 'https://yourdomain.com/reset-password',
},
},
});