Gmail SMTP Configuration
To configure SMTP in your gmail account. We first need to create an app password.
- Create an App Password. Navigate to https://security.google.com/settings/security/apppasswords.
- Here, provide an identifiable name and click on Generate.
- Copy the generated token and store in a secure place. The token will not be visible later.

Configure SMTP
Now, since we have created the app password. We will use it to configure our SMTP. Use the following configuration:
- Server address: smtp.gmail.com
- Username: Your Gmail Address. Please note it should be full email address.
- Password: The token we generated from above.
- Port number: 465 for SSL, or 587 for TLS