Home / Store / Bot template

Gmail Inbox Triage Bot

Labels new mail, writes draft replies into your Drafts folder, and emails you a morning digest. Nothing goes to anyone else.

For Founders, consultants, and operators with a heavy inbox

Bot templateIn testing

  • Public-safe
  • Preview sample
  • Paid-only file

What you get

  • A Google Apps Script bot that runs in your own Google account
  • About 25 minutes to set up; you bring your own model API key
  • You review every draft before it goes anywhere

Free preview

This is the opening of the real file, shown in full so you can judge it before you pay. The rest is after checkout.

What it does

Every 15 minutes it reads new inbox threads it has not seen, asks the model you choose to classify each one, and:

  • applies one label: Triage/Needs reply, Triage/FYI, Triage/Receipts or Triage/Newsletters
  • for Needs reply threads, saves a draft reply in your voice to Drafts and labels the thread Triage/Draft ready
  • marks the thread Triage/Seen so it is never processed twice

Every morning at the hour you choose it emails you a digest: one line per Needs reply and FYI thread from the last 24 hours, with a link.

Nothing is archived, deleted or sent to other people. You can remove every label it created in one click.

Contents

  1. Before you start: data and quotas
  2. Create the project and add your key
  3. Source: Code.gs
  4. Dry run, then turn it on
  5. Tuning the classifier and your voice
  6. Instructions for your AI coding agent
  7. Uninstall