Email Verification API
This is an example of the Email Verification API built with Next.js.
How does it work?
When you enter an email address from a supported mailbox provider, the browser interfaces with the mailbox to work out if you are logged in and therefore own the email address. A token is then set on a hidden <input> element. On submission, the server verifies the token and validates the user owns the email address.
In this project, the verification is handled by the email-verification-api package.
Browser support
The Email Verification API is currently supported in Chrome as an origin trial.
Email provider support
Gmail currently implements support for the protocol. You can also sign in to this demo provider and the demo email will verify correctly.