First, go to:
Take a look at the Sign-in & security -> Connected apps & sites -> Allow less secure apps settings.
You must turn the option "Allow less secure apps" ON.
Once complete, edit the .env file:
MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=yourEmail MAIL_PASSWORD=yourPassword MAIL_ENCRYPTION=tls
If you get this error when sending email: "Failed to authenticate on SMTP server with username "email@example.com" using 3 possible authenticators". You may try one of these methods. First go to:
https://accounts.google.com/UnlockCaptcha Click continue and unlock your account for access through other media/sites.
And second method:
Using a double quote password: "your password"