← All projects
Project record1 mention
Originally shared on Hacker News

Gmail Auto-Labeling Tool

This tool auto-labels emails in Gmail based on the user's past labeling behavior. It pulls up to 400 emails per custom label and trains a custom BERT-based model just for the user that labels new incoming email. Likely-but-uncertain matches get a 'Proposed/{label}' label, so archiving in Gmail acts as acceptance and moves the email to the correct label, while user re-labeling is fed back as counter-example data. The backend runs on Temporal and Kubernetes with a multi-stage pipeline planned so simpler emails can be categorized with cheaper techniques. It currently works on the author's own accounts; releasing it as a product would require a costly Google security audit.

Last shared
01 / The problem

What it addresses

Frustration that Google won't use its ML systems to auto-label emails based on what the user has labeled before, so the author scratched that itch.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Gmail Auto-Labeling Tool

    This tool auto-labels emails in Gmail based on the user's past labeling behavior. It pulls up to 400 emails per custom label and trains a custom BERT-based model just for the user that labels new incoming email. Likely-but-uncertain matches get a 'Proposed/{label}' label, so archiving in Gmail acts as acceptance and moves the email to the correct label, while user re-labeling is fed back as counter-example data. The backend runs on Temporal and Kubernetes with a multi-stage pipeline planned so simpler emails can be categorized with cheaper techniques. It currently works on the author's own accounts; releasing it as a product would require a costly Google security audit.

    Problem: Frustration that Google won't use its ML systems to auto-label emails based on what the user has labeled before, so the author scratched that itch.

    Posted by @cypherfox · Original source ↗

    Source text · @cypherfox · · Source ↗

    I'm working on a tool to auto-label emails in Gmail (first) based on what you've labeled in the past. It pulls down up to 400 emails for each custom label and creates a custom model just for you, that will label new incoming email.