xxxxxxxxxx
Since Google has Introduced PassKey feature you dont need to Setup Gmail API
on Google Cloud
Instead Follow this : https://www.jotform.com/help/392-how-to-use-your-gmail-account-as-your-email-sender-via-smtp/
for Laravel env:
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME="yoursendermail@domain.com"
MAIL_PASSWORD="password"
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="no-replay@domain.com"
MAIL_FROM_NAME="Application Name"
xxxxxxxxxx
Gmail SMTP server address: smtp.gmail.com
Gmail SMTP name: Your full name
Gmail SMTP username: Your full Gmail address (e.g. you@gmail.com)
Gmail SMTP password: The password that you use to log in to Gmail
Gmail SMTP port (TLS): 587
Gmail SMTP port (SSL): 465
gmail smtp settings no longer working
you have to use oauth to send email
xxxxxxxxxx
https://console.cloud.google.com/apis/dashboard