Enhanced email assistant prompts with new system prompt templates and dynamic style generation logic. Updated dependencies including @langchain/core, @ai-sdk/groq, and others for improved functionality and compatibility.
* added contacts dropdown for create email
* Add useContacts hook for managing contacts in mail app
* Refactor useContacts to handle missing connectionId
* review time plz
* relocate settings routing
* dropdown reccomendation email
* use next/Link
* chore: bring back login button
* Refactor auth.ts for early access validation
* posthog
* Refactor mail actions and types to improve thread handling and response structure. Update getMail to return IGetThreadResponse, modify related components to utilize new structure, and enhance error handling in driver functions.
* remove search from drafts
* Refactor email handling with active driver integration
* Refactor API routes, utils, and actions for consistency
* Update provider value assignment in layout.tsx
* Update user settings schema and default value; add custom prompt in user table
* Fix unreachable code and add missing mutation to thread display<commit message>
* no select
* Refactor conditional rendering logic in mail-list component
* width
* width
---------
Co-authored-by: Ahmet Kilinc <akx9@icloud.com>
Co-authored-by: Nizzy <nizabizaher@gmail.com>
Co-authored-by: kingstondoesit <kingstondoesitall@gmail.com>
Co-authored-by: needle <122770437+needleXO@users.noreply.github.com>
* fix: improve mail list and thread management with updated hooks and layout adjustments
* conflicts
---------
Co-authored-by: Nizzy <nizabizaher@gmail.com>
- Implemented EnableBrain action to subscribe to mail gateway
- Created GetSummary action to retrieve email thread summaries
- Added useSummary hook for fetching summaries
- Introduced mail0_summary database table
- Added Brain button to app sidebar for enabling AI features
- Update package names, imports, and references from @mail0/* to @zero/*
- Modify configuration files to reflect new project name
- Update database connection and schema imports
- Adjust email sender and branding details
- Add react-library tsconfig
- Remove redundant database files in apps/mail