qaemdev

Use your own Google key with Gmail Connect

Create a Google OAuth client in your own Cloud project so Gmail Connect signs in with no user cap and nothing shared with anyone else.

Updated 11 Sept 2026

Gmail Connect normally signs you in through a shared Google app, which Google caps at 100 people for the lifetime of the app and flags with an "unverified app" warning until it passes a paid annual security audit. Making your own key is a one-time job, and it removes both.

You need a Google account. There's no billing, no card and no code to write.

Create your key

Make a project

  1. Open console.cloud.google.com/projectcreate.
  2. Give it any name (My Mail Widget is fine) and press Create.
  3. Wait for the notification that it's ready, and make sure it's the project selected in the bar at the top.

Turn on the Gmail API

Open the Gmail API page and press Enable. That's the whole step.

Fill in the consent screen

Google moved this out of "APIs & Services" into the Google Auth Platform during 2025, so most guides you'll find online describe menus that no longer exist. These are the pages as they are now:

PageWhat to do
BrandingEnter an app name and your own email address. Don't upload a logo: that alone forces a verification review you don't need.
AudienceChoose External. Add your own Gmail address under Test users, then press Publish app.
Data accessClick Add or remove scopes, paste https://www.googleapis.com/auth/gmail.modify into the manual box, then press Add to table, Update and Save.

Create the key

This is the redirect URI you'll add. Enter it exactly as shown, trailing slash included, because Google matches redirect URIs literally:

https://qaemalmanasif.github.io/gmail-widget/
  1. Open Clients and press Create client.
  2. Set the application type to Web application.
  3. Under Authorised redirect URIs, add the address above.
  4. Press Create. Google shows a Client ID and a Client secret once, so copy both before you close that dialog.

Sign in with it

  1. On your EDGE, the widget is showing a QR code. Scan it, or open the sign-in page and enter the code printed under it.
  2. On the sign-in page, open Use a Google key of my own instead.
  3. Paste your Client ID and Client secret, then press Sign in with Google.
  4. Click through the "unverified app" screen (Advanced, then Go to …) and approve.

Your inbox opens on the panel. From then on, the widget renews its own access with your key and never contacts QAEM again.

For the rest of the setup, see Set up Gmail Connect.