How grsantoss/operacondo-concierge-email works
CondoMail AI is a condominium email-management application: users authenticate, configure a condominium, review categorized messages, and prepare or approve replies. The route pages invoke authenticated server functions, which read and write condominium, email, and draft records through Supabase; the shell also offers a simulated incoming-email action. The README is empty, so capabilities and relationships here are based on the source index and sampled code; unsampled details are not inferred.
Main entry points: emails.functions.ts Email operations · routeTree.gen.ts Route registry · condos.functions.ts Condo operations · auth.tsx Sign in
Components 18
Access and routing
- Route registry
src/routeTree.gen.ts - Sign in
src/routes/auth.tsx - Session guard
src/routes/_authenticated/route.tsx
Condominium setup
- Setup flow
src/routes/_authenticated/onboarding.tsx - Condo operations
src/lib/condos.functions.ts - Condo settings
src/routes/_authenticated/settings.tsx
Email workflow
- Dashboard
src/routes/_authenticated/dashboard.tsx - Email inbox
src/routes/_authenticated/emails.index.tsx - Email detail
src/routes/_authenticated/emails.$id.tsx - Draft queue
src/routes/_authenticated/drafts.tsx - Email operations
src/lib/emails.functions.ts - Sample messages
src/lib/seed-emails.ts - Draft templates
src/lib/draft-templates.ts - Email categories
src/lib/categories.ts
Shared platform
- Supabase client
src/integrations/supabase/client.ts - App shell
src/components/app-shell.tsx - Supabase data store
Other components
- Condo user
Connections 25
- Condo user → Sign in: signs in
src/routes/auth.tsx - Sign in → Supabase client: authenticates with
src/routes/auth.tsx - Condo user → Setup flow: configures condo
- Setup flow → Condo operations: submits setup
src/routes/_authenticated/onboarding.tsx - Condo settings → Condo operations: loads condo
src/routes/_authenticated/settings.tsx - Dashboard → Email operations: loads email data
src/routes/_authenticated/dashboard.tsx - Email inbox → Email operations: lists messages
src/routes/_authenticated/emails.index.tsx - Email detail → Email operations: loads and saves
src/routes/_authenticated/emails.$id.tsx - Draft queue → Email operations: loads drafts
src/routes/_authenticated/drafts.tsx - App shell → Email operations: simulates arrival
src/components/app-shell.tsx - Email operations → Sample messages: selects sample
src/lib/emails.functions.ts - Email operations → Draft templates: generates fallback
src/lib/emails.functions.ts - Condo operations → Sample messages: seeds inbox
src/lib/condos.functions.ts - Condo operations → Draft templates: creates drafts
src/lib/condos.functions.ts - Draft templates → Email categories: uses category types
src/lib/draft-templates.ts - Email operations → Supabase data store: reads and writes
src/lib/emails.functions.ts - Condo operations → Supabase data store: reads and writes
src/lib/condos.functions.ts - Session guard → Supabase client: checks session
src/routes/_authenticated/route.tsx - Route registry → Sign in: registers route
src/routeTree.gen.ts - Route registry → Setup flow: registers route
src/routeTree.gen.ts - Route registry → Email inbox: registers route
src/routeTree.gen.ts - Route registry → Email detail: registers route
src/routeTree.gen.ts - Route registry → Dashboard: registers route
src/routeTree.gen.ts - Route registry → Draft queue: registers route
src/routeTree.gen.ts - Route registry → Condo settings: registers route
src/routeTree.gen.ts