v0.1.0by Gonzalo Verdugo

inbox-count

Shows how many emails your Gmail inbox holds, how many are unread and how many important ones wait, above the prompt.

1 downloadsUpdated 7 Oct 2026gmail · email · inbox · band

In collections:Connected

See it run

A sample Claude Code session played through this mod's hooks, in your browser. What it draws is drawn. Files, network, processes and the model are never reached: each call is listed under the terminal with the stand-in it got.

It is a simulation: a mod that depends on a real answer shows what it does with an empty one.

README

inbox-count

Draws a band above the prompt with your Gmail inbox: how many conversations it holds, how many are unread, and how many unread emails Gmail marks important. It asks Gmail every five minutes and when you type /inbox, and shows a toast when a new important email arrives.

It reads Gmail with the read-only scope and needs three values in /config, made once:

  1. In the Google Cloud console, enable the Gmail API and create an OAuth client of type Desktop app. Its ID and secret are the first two values.
  2. In the OAuth Playground, open the settings, tick "Use your own OAuth credentials" and paste that client. Authorize the scope https://www.googleapis.com/auth/gmail.readonly with your account and exchange the code: the refresh token is the third value.

The secret and the refresh token are kept in Claude Code's secure storage, not in settings.json.

It touches network (oauth2.googleapis.com and gmail.googleapis.com) and display (the band and the toast). It reads two label counters and never opens an email.

Files

6 files, 9.6 KB unpacked, in the latest version.

Pick a file to read it.

Versions

A published version never changes. Each archive is pinned by its sha256 in the marketplace.

VersionPublishedSizesha256
0.1.07 Oct 20264.7 KB6e059e3ef826… zip

Your first mod, installed in two commands

Sign in with Google and you get a publisher with its own marketplace. Upload a zip, read what Modyard found in it, and share the install command.