Proof hub / Tutorial sample

Turn a shared inbox into a labeled review queue.

Goal: reduce missed support and sales messages by giving every new email a category, owner, urgency, and visible reason before a human reviews it.

1. Inputs

  • Message ID, sender, subject, received timestamp, body preview, and attachments flag.
  • Allowed labels: sales, support, billing, urgent, spam, vendor, unknown.
  • Owner map: sales lead, support lead, finance lead, or manual review.

2. Workflow

Gmail trigger, normalize message fields, classify against the allowed label list, write one row to the review sheet, notify the owner, and store the model or rule reason in the log.

3. Review table

received_at, message_id, label, owner, reason, status
2026-05-22T09:00Z, msg_001, sales, revenue_owner, pricing request, open
2026-05-22T09:03Z, msg_002, support, support_owner, login issue, open

4. Acceptance checks

  • Every message has exactly one row in the review table.
  • Unknown messages go to manual review instead of being discarded.
  • Owner notifications never include secrets, private keys, or full attachment contents.
  • Weekly reporting can count label volume, open items, and false labels.