Unread badges are optional. TabMail's tabs, colors, groups and themes all work without this. Badges need a one-time setup because Google doesn't let an extension ship a shared sign-in key: you create a free key (an "OAuth Client ID") in your own Google account. It takes about 5–10 minutes. Google occasionally renames menu items; the names below match Google's current "Google Auth Platform" layout.
TabMail only asks for read-only Gmail access and only asks Gmail for numbers (conversation counts). It never reads your email content.
Open TabMail's settings → Unread Badges. Keep that page open. You will copy a "redirect URL" from it and paste a Client ID back into it.
TabMail has a fixed extension ID, so its redirect URL is the same on every computer and never changes:
https://gccbaemahdbndlkbcclaompnfnaanjld.chromiumapp.org/
That means you register it with Google once, and every computer you install TabMail on (with the same build) uses it as is.
https://www.googleapis.com/auth/gmail.readonly, tick it, then Update and Save. (If you can't find it in the list, paste it into the manual-scope box.)https://gccbaemahdbndlkbcclaompnfnaanjld.chromiumapp.org/ (TabMail's Unread Badges page shows the same URL, with a Copy button). It must match exactly, including the final slash..apps.googleusercontent.com). You do not need the client secret.Google Workspace (company or school) account? In Step 2 you can choose Internal instead of External. Internal apps have no unverified warning and no expiry, so Step 4 is not needed. Your Workspace administrator may need to allow the app if they restrict third-party access.
Connected before you published? Click Disconnect and then Connect once more. A sign-in made while the app was in Testing still expires after 7 days; a fresh one made after publishing does not.
Why can't TabMail just sign me in? Google's rules for reading Gmail require a verified app and an expensive annual security review. Using your own Client ID keeps your access entirely between you and Google, and TabMail never sees a developer-owned secret or your email.
Is it safe? The permission is read-only. The key lives in your Google account and your browser. Nothing goes to the TabMail developer. You can revoke access at https://myaccount.google.com/permissions or via "Disconnect" / "Sign out" in TabMail.
Does it cost anything? No. Reading counts uses a tiny amount of the free Gmail API quota.
Badges disappeared / TabMail says "Session expired".
The number differs from Gmail. See "How the numbers are counted". Check you are comparing conversations, not individual emails. Numbers may be up to a minute behind; switching back to the tab refreshes them. Search tabs over 1,500 results show "999+".
My settings don't appear on my other computer. (1) Both computers must run the same TabMail build: open TabMail settings → Backup & Reset and compare the Extension ID (the standard one is gccbaemahdbndlkbcclaompnfnaanjld); a warning appears if it differs. (2) Both Chromes must be signed in to the same Google account with Extensions turned on under Sync. (3) Wait a few minutes. (4) Moving from an older copy with a different ID? Settings never synced between those, so use Export on the old one and Import on the new one once.
Badges show on one account but not another. Badges only appear on the Google account you connected. To use another account, Disconnect and Connect again choosing that account.
I get "redirect_uri_mismatch". The redirect URI in Google must exactly match the one TabMail shows in Unread Badges (including the trailing slash). With the standard build it is always https://gccbaemahdbndlkbcclaompnfnaanjld.chromiumapp.org/. If TabMail shows a different one, you are running a copy with a different ID (an older copy, or one installed from another source). Either reinstall the standard build, or add the URL that TabMail shows as an additional redirect URI in Google.
I get "access_denied" or "app not verified / 403". Your project is probably still in Testing: publish it (Step 4). If you prefer to stay in Testing, add your own Gmail address under Audience → Test users, but you'll have to reconnect every 7 days.
Google says the app is blocked by an administrator. Your Workspace administrator restricts third-party apps. Ask them to allow the Client ID, or use a personal Google account.
Badges show 0 or nothing. Check the label spelling matches Gmail (capitalization doesn't matter), or that your search returns results in Gmail's own search box. Tabs with "Show badge" turned off have no badge, and a count of zero hides the badge.
How do I remove everything? TabMail settings → Unread Badges → Disconnect; then revoke access at https://myaccount.google.com/permissions and delete the Google Cloud project at https://console.cloud.google.com → IAM & Admin → Settings → Shut down.