Skip to content
justkmodePublic

About

InboxOps - email-to-data automation. Copies alert emails (e.g. job alerts) from a Gmail label into a Google Sheet every day, with Google Apps Script.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

InboxOps

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.

How it works

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
Loading
  1. A Gmail filter puts the alert emails under the label Job alerts.
  2. Once a day, the script searches that label for emails from the last 14 days.
  3. 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, the Radar tab) come from the first version of this project, Job Radar.

Setup

You need a Google account and Node.js for clasp, Google's command-line tool for Apps Script.

  1. Gmail: create a label called Job alerts and a filter that applies it to the alert emails.
  2. Sheet: create a new Google Sheet.
  3. 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 create makes 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 run clasp clone <scriptId> in an empty folder. .clasp.json holds your script ID and is git-ignored on purpose.
  4. First run: in the Apps Script editor, run collectJobAlerts once and accept the permissions (Gmail read, Sheets).
  5. Daily run: run createDailyTrigger once. 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.

Roadmap

  • 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

Tech

Google Apps Script · Gmail · Google Sheets · clasp

About

InboxOps - email-to-data automation. Copies alert emails (e.g. job alerts) from a Gmail label into a Google Sheet every day, with Google Apps Script.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages