pending until they confirm it, then it becomes active.
Set it up
1
Create an email channel
Add an SMTP email channel in Messaging → Channels. See Channels.
2
Create a verification template
Create an email template that includes the
{{token}} variable:3
Enable it on the guard
In the guard settings, turn on Email verification and select the channel and template.
The flow
Verify
POST /auth/{guard}/email/verify — API key only.
401 invalid_or_expired_token.
Resend
POST /auth/{guard}/email/resend — needs the user’s Bearer token. Issues a new code.
Check verification status
GET /auth/{guard}/me includes verified_at in the user’s data once verified, and the record status is active.
Registration returns a session, and
pending users can log in. If your app needs verified users only, check verified_at from /me and show a “verify your email” screen, or add a row policy or hook that blocks unverified users from key actions.