Latch is a local-first desktop inbox triage app scaffolded for Electron, React, TypeScript, Prisma, and SQLite.
- Desktop-oriented dashboard UI with onboarding, queues, inspector, settings, and activity feed.
- Rules-first sorting engine for:
- deadlines
- shipping updates
- payment-related email
- important conversations
- Manual overrides, reviewed state, and pinned sender importance.
- Provider adapter contract with Gmail and Outlook demo adapters.
- Prisma schema for the normalized local data model.
- Electron desktop shell with a native window and preload bridge for external-provider links.
- OAuth connection and token storage are not live yet.
- SQLite persistence is represented by the Prisma schema, but the running app currently uses local storage so the interface can be exercised before native database wiring is finished.
- Pinecone is intentionally not wired in.
- Gmail OAuth is currently under Google verification review for public production access.
- During review, only approved test users can sign in through Gmail OAuth.
- Outlook OAuth is configured for personal-account flow and can be tested separately.
- A packaged Windows build is included at:
release/Latch-win-lite.zip
- This package is the app build without bundled local AI model assets, so the download stays practical while OAuth inbox features are tested.
- Install Node dependencies:
npm install- Run the dashboard as a desktop app:
npm run desktop:dev- Run tests:
npm test- To build a downloadable Windows installer:
npm run build:desktop- Replace demo provider adapters with Gmail and Microsoft Graph OAuth + sync.
- Back the desktop bridge with SQLite and Prisma-generated queries.
- Move secrets into OS keychain storage from the Electron main process side.
- Add Playwright smoke coverage for onboarding and queue workflows.