React
Email verification
At the end of this guide, you will have the email verification system in place with flows for account activation and email change, along with MJML email templates.
The email verification component handles two distinct flows: account activation for new signups and email change verification for existing users updating their email address. Other components like Signup and Profile update rely on this component.
The component includes:
- Account activation email with MJML template
- Email change verification email with MJML template
- Token generation and verification endpoints
- Throttled resend functionality (1 email per minute)
- Tokens expire after 24 hours
Note
This guide requires the authentication setup. Follow the setup guide before continuing.