WI-037 · Research & Discovery · gmail-local-sales-discovery

Gmail local-sales discovery module

queued P2 medium risk   Owner: Justin Hilleary   Reviewer: Paul   0% · 0/1 tasks complete

Gates: R5 Requirements: REQ-RESEARCH-005 Updated: 2026-06-22

At a glance

CodeWI-037
PhaseResearch & Discovery
Order72 of 93
Story points8
Primary surfaceMobile/web: Gmail-connected discovery of recent garage/estate sales
Retires
Depends onsource-import-pipeline
Blocks
Evidence
pending prototype

Goals

Gmail local-sales discovery module — advances R5 toward its gate(s).

Implementation — what to build

Auth (credentials server-side only)

  • Gmail OAuth (read-only) consent; tokens stored server-side in oauth_tokens (RLS service-role only) — never on device.

Parser

  • Pull subscribed sale emails (EstateSales.net/Craigslist/etc.); extract candidate addresses + dates; dedupe; cross-reference vs known sales.

UI

  • Clean visual list of recent local sales with new-vs-known addresses flagged; a promote-this nudge grants free tokens (troveTokens).

Contract

  • Feeds source_import_records -> inventory_candidates (one-door rule); never writes canonical inventory.

Acceptance / review

  • Consented Gmail -> deduped candidate addresses in a visual cross-ref list; promotion grants tokens. Owner Justin builds; Paul reviews + accepts before merge.

Checklist

  • R5 Research-driven feature prototypes: findings turned into specced/prototyped features (e.g., Gmail local-sales discovery).

Gates & testing

  • R5 Research-driven feature prototypes: findings turned into specced/prototyped features (e.g., Gmail local-sales discovery).
    HITL QA

Requirements

  • REQ-RESEARCH-005 accepted Prototype the Gmail local-sales discovery module: with seller Gmail consent, surface recent garage/estate sales from subscribed email lists, cross-reference new addresses, and nudge promotion in exchange for free tokens.
    Done when: OAuth Gmail consent (tokens server-side only); parses subscribed sale emails into normalized candidate addresses with dedupe; a clean visual list cross-references new vs known addresses; promotion nudge grants tokens; assigned to a contributor and reviewed/accepted by Paul before merge.
    Spec: Human direction 2026-06-19 · docs/product/source-ingestion.md (Gmail alerts) · docs/ARCHITECTURE.md (Credential handling) · docs/product/pricing-and-tokens.md (Buyer tokens)

Verify (done when)

with seller Gmail consent (tokens server-side), recent sale emails parse into deduped candidate addresses shown in a clean visual list cross-referencing new vs known; a promotion nudge grants free tokens; Paul reviews + accepts before merge.

Cost triggers

No paid API / infra spend triggered by this item.

Status & editing

queued   Sprint: Research & Discovery

Edit status / sprint on the ★ Live Board → — changes are logged live with who / when / why.

Human-in-the-loop

No human tasks linked.

Findings

None recorded yet.

Concerns

None recorded yet.

Risks

None recorded yet.

Tech debt

None recorded yet.

Tools used

No tool calls recorded.

Files & artifacts

No files / artifacts recorded.

Update log

No log entries yet.