Email Confirmation

Let’s learn about the email confirmation process that verifies user identity.

What prevents someone from using another person’s email instead of their own or even faking an email address? We need some way to verify that the email belongs to an actual person using it to make an account.

For this process of verification, we’ll use Nodemailer as an email service and Gmail as the email service provider. We do this because we want to provide a unique identifier for the user and send that identifier to the user email with a link. That way, we can verify the email when the user clicks.

Get hands-on with 1200+ tech skills courses.