X
xgmail
⚙
Connect your Gmail account
Google OAuth Client ID
Connect Gmail
How to get a Client ID
Go to
Google Cloud Console
→
APIs & Services
→
Credentials
Click
Create Credentials
→
OAuth client ID
Application type:
Web application
Under
Authorized JavaScript origins
, add
http://localhost:8080
Click
Create
and copy the
Client ID
(not the secret)
In
OAuth consent screen
, add your Gmail address as a test user
Enable the
Gmail API
in
APIs & Services
→
Library