A lightweight, visually striking Chrome extension built with Manifest V3 that allows you to quickly check your Gmail inbox, view unread counts, and manage emails directly from your browser toolbar.
- Live Background Syncing: Automatically fetches your unread email count every 5 minutes and updates the extension badge.
- Vaporwave Dark Mode UI: A custom-designed, high-contrast dark theme with neon accents to reduce eye strain.
- Instant Inbox Management: View the sender, subject, and snippet of your latest emails, and use the inline
✓button to mark them as read instantly. - Seamless Authentication: Utilizes the native
chrome.identityAPI for secure, frictionless Google SSO.
- HTML/CSS/JavaScript: Pure vanilla web technologies.
- Chrome Extension API: Built using the modern Manifest V3 standard (
service_workers,alarms,action,identity). - Google REST API: Interfaces directly with the
gmail/v1endpoints.
Because this extension interacts with the private Gmail API, you must generate your own Google Cloud Client ID to run it locally. For security, real Client IDs are never committed to this repository.
- Go to the Google Cloud Console.
- Create a New Project and navigate to APIs & Services > Library.
- Search for the Gmail API and click Enable.
- Go to APIs & Services > OAuth consent screen.
- Select External and fill in the required app details.
- Under the Test users section, add the exact email address you plan to use for testing.
- Go to APIs & Services > Credentials.
- Click Create Credentials > OAuth client ID.
- Select Chrome extension as the application type.
- Keep this window open, you will need to paste your Extension ID here shortly.
- Clone this repository to your local machine using your terminal:
git clone https://github.com/YOUR-USERNAME/GmailGlance.git - In the root directory, duplicate the
manifest.example.jsonfile and rename the copy tomanifest.json. (Note:manifest.jsonis safely ignored by Git). - Open Google Chrome and navigate to
chrome://extensions/. - Toggle Developer mode on (top right corner).
- Click Load unpacked and select your cloned
GmailGlancefolder. - Copy the Extension ID generated by Chrome.
- Go back to your Google Cloud Console window and paste the Extension ID into the OAuth Client ID creation screen. Click Create.
- Copy the resulting Client ID (it ends in
.apps.googleusercontent.com). - Open your new
manifest.jsonfile and replace"YOUR_CLIENT_ID_HERE"with your actual Client ID.
- Go back to
chrome://extensions/and click the Reload button on the Gmail Glance card. - Pin the extension to your toolbar, click the icon, and connect to Gmail.
- Note: Because your app is in testing mode, Google will show an unverified app warning. Click Advanced > Go to Gmail Glance (unsafe) to proceed.
This extension runs entirely locally within your browser.
- No email data is ever stored, cached, or transmitted to any third-party servers.
- Authentication is handled directly between your browser and Google's OAuth servers.
- The extension only requests the
gmail.modifyscope, which is strictly used to read message metadata and remove theUNREADlabel. - The
.gitignorefile ensures your privatemanifest.json(containing your Client ID) and local IDE caches (like.vs/) are never pushed to the public repository.
This project is licensed under the MIT License.