What's new
Gmail + Google Calendar OAuth connector
: Connect your Google accounts from Settings → Connectors. The OAuth flow requests read-only Gmail and Calendar access, stores encrypted tokens, and shows connection status with the connected email address.
AI booking extractor
: New
extractEventSignalfunction uses Claude to identify confirmed DJ booking emails from your inbox and extract event details (title, venue, city, dates, confidence score). Prompt-injection defense and Zod-validated structured output prevent malformed data from reaching the UI.Suggested actions UI
: Extracted events surface as pending action cards on the Connectors settings page. Each card shows event title, dates, venue, rationale, and the source email subject — ready to accept or dismiss.
Token vault
: Encrypted storage layer (
token-vault.ts) for OAuth access and refresh tokens using AES-256-GCM, with automatic refresh-if-expired logic.Dev fixtures
: Dev-only seed endpoint (
/api/dev/connectors/seed-fixtures) populates mock Gmail and Calendar accounts with realistic booking email fixtures so the extraction pipeline can be tested without real OAuth credentials.