Email-to-data automation. InboxOps turns alert emails into a structured Google Sheet, so useful information ends up in one list instead of scattered across your inbox.
It is a small Google Apps Script that runs inside your own Google account. Nothing is sent to any outside server.
Current use case: LinkedIn job alerts. The same pattern works for any alert email you want to collect and review.
flowchart LR
G["📥 Gmail<br/>label 'Job alerts'"]
S["⚙️ Apps Script<br/>runs daily, ~08:00"]
T[("📊 Google Sheet<br/>tab 'Radar'")]
H(["👩 You<br/>review and add notes"])
G -- "new emails<br/>last 14 days" --> S
S -- "one row per email<br/>no duplicates" --> T
T --> H
classDef person fill:#F4F2ED,stroke:#D6A36B,color:#111B2A
classDef source fill:#111B2A,stroke:#69CFC0,color:#F4F2ED
classDef process fill:#69CFC0,stroke:#111B2A,color:#111B2A
classDef data fill:#A9B99A,stroke:#111B2A,color:#111B2A
class H person
class G source
class S process
class T data
- A Gmail filter puts the alert emails under the label Job alerts.
- Once a day, the script searches that label for emails from the last 14 days.
- Each new email becomes one row in the Radar tab:
| Received | Subject | Job links | Email text | Notes | Message ID |
|---|
- Job links are cleaned up to short
linkedin.com/jobs/view/<number>links. - Notes is left empty for your own comments.
- Message ID stops duplicates, so running the script twice adds nothing new.
Only emails from the addresses in JOB_SENDERS (at the top of Code.js) are counted.
Names in the code (
collectJobAlerts,JOB_SENDERS, theRadartab) come from the first version of this project, Job Radar.
You need a Google account and Node.js for clasp, Google's command-line tool for Apps Script.
- Gmail: create a label called
Job alertsand a filter that applies it to the alert emails. - Sheet: create a new Google Sheet.
- Script: install clasp and connect this folder to a new script bound to that sheet:
npm install -g @google/clasp clasp login clasp create --type sheets --title "InboxOps" --rootDir . clasp push
clasp createmakes a new sheet with a script attached. To use the sheet from step 2 instead, open it, go to Extensions → Apps Script, copy the script ID from Project Settings, and runclasp clone <scriptId>in an empty folder..clasp.jsonholds your script ID and is git-ignored on purpose. - First run: in the Apps Script editor, run
collectJobAlertsonce and accept the permissions (Gmail read, Sheets). - Daily run: run
createDailyTriggeronce. The script then runs every morning around 08:00.
To change what gets collected, edit the settings at the top of Code.js (senders, search, tab name) and run clasp push again.
- Collect alert emails from a Gmail label into a Google Sheet, daily
- Clean links and skip duplicates (Message ID)
- Let Claude rate each item and write the result in the Notes column
- Support more senders beyond LinkedIn
- Make it reusable: configurable sources, filters and outputs, with separate collect → process → store steps
Google Apps Script · Gmail · Google Sheets · clasp