Commit Graph

53 Commits

Author SHA1 Message Date
Adam
c828dd291e Merge branch 'staging' into homepage-addition 2025-05-09 00:05:05 -07:00
BlankParticle
94e7d68db9 feat: first working version of separated backend 2025-05-08 00:44:52 +05:30
Aj Wazzan
113a3bc329 fix: update SRH_TOKEN in docker-compose.yaml and refactor dialog components for improved consistency 2025-05-06 14:59:05 -07:00
Nizzy
f9b6f49e3a homepage 2025-05-04 00:31:33 -07:00
Ahmet Kilinc
f073bb47e0 turn images on by default 2025-05-02 19:28:21 +01:00
needle
06e52e737b fix(database): settings 2025-05-02 00:50:14 +03:00
needle
cba853ef93 chore(thread): re-enable external images blocker 2025-05-01 18:05:25 +03:00
Aj Wazzan
e1deecc95c Enhance email composer functionality and UI improvements. Updated draft handling to clean email addresses and format message content. Implemented auto-save feature for drafts and improved state management in sidebar components. Cleaned up unused imports and adjusted styling for better consistency. 2025-04-30 15:35:19 -07:00
Aj Wazzan
fb52365ed8 Add default value to colorTheme in userSettingsSchema 2025-04-30 14:13:46 -07:00
Ahmet Kilinc
28ba8b2d76 color theme now persists in user settings 2025-04-30 16:26:46 +01:00
Adam
d9922a9908 Merge branch 'staging' into dakdevs/global-ai-compose 2025-04-28 16:13:32 -07:00
kingstondoesit
3200a4e5e1 throw error !DATABASE_URL 2025-04-27 18:08:21 +01:00
Dak Washbrook
c0ca4ae621 Add email assistant prompt enhancements and dependency updates
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.
2025-04-26 21:07:34 -07:00
Aj Wazzan
e0fc71536f Remove dynamicContent field required constraint 2025-04-25 21:58:20 -07:00
Aj Wazzan
0adaaf6190 Refactor form schema to use userSettingsSchema 2025-04-25 21:35:57 -07:00
BlankParticle
b3415c3d5b chore: simplify and fix the dev env 2025-04-21 18:43:31 +05:30
Adam
14dfeedd16 Merge branch 'main' into new-keybinds 2025-04-16 21:46:16 -07:00
Adam
fa1768d9c8 Staging (#692)
* 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>
2025-04-16 23:09:31 -04:00
Ahmet Kilinc
8a0a833665 hotkeys db and api route
- added route for hotkeys
- added table for hotkeys
- indexdb for hotkeys (synced with db)
2025-04-13 12:56:35 +01:00
Aj Wazzan
4377e042da Add function to handle golden ticket feature 2025-04-09 23:29:14 -07:00
Aj Wazzan
6cbd6f7b90 Enhance email sending functionality by adding support for CC and BCC fields, integrating the 'mimetext' library for MIME message creation, and refactoring the reply composer. Update user settings to remove signature options and improve email parsing logic. 2025-04-09 00:09:32 -07:00
Aj Wazzan
01ee637fc9 Add testing for note table creation 2025-04-08 20:22:13 -07:00
Dante Issaias
4997303509 Trusted senders (#618)
* A11y

* Trusted senders

* Add key

* Fix use callback deps

* Hide trusted settings if external images enabled

* Scroll area
2025-04-08 20:08:02 -04:00
Aj Wazzan
3a61462382 Add email signature settings and preview 2025-04-08 12:35:50 -07:00
Aj Wazzan
b34aca44a7 Add unique constraint to mail0_connection table 2025-04-08 12:35:14 -07:00
plyght
8ebad01745 add signatures 2025-04-05 11:24:38 -04:00
nizzy
6d4aaee8a3 Improved ai with custom prompt (#534)
* ai

* improved ai

* improved-ai-with-custom-prompt

* empty commit
2025-03-29 18:03:10 -04:00
Nizzy
d825d3a925 early access check added to schema 2025-03-25 14:11:30 -07:00
Nizzy
8b63b6ab85 remove unique status from email in schema 2025-03-25 14:05:22 -07:00
Sergio JVA
2463442371 feature/persist user settings (#513)
* feat: persist setting (codycodes95)

* feat: update settings to jsonb

* feat: run migration

* feat: save changes to db

* fix: naming

* feat: validate settings schema

* feat: add i18n

* fix: set i18n variables

* fix: coderabbit comment

* feat: improve function readability

* feat: use hook

* fix:update settings

---------

Co-authored-by: Cody Partington <codythatsme@gmail.com>
2025-03-25 16:49:04 -04:00
Adam
cac79b9ab9 Revert "WIP: Switch from ⁠text primary key to UUIDv7" 2025-03-21 12:15:00 -07:00
Tom Härter
75e9eb9b9d Switch to uuidv7 2025-03-21 19:59:34 +01:00
Tom Härter
112ec05fa6 Drizzle default casing to snake case 2025-03-21 19:14:29 +01:00
user12224
5aa0f0130a refactor 2025-03-20 00:03:56 +02:00
Aj Wazzan
e3ed4f2cb0 saving... 2025-03-19 14:36:58 -07:00
user12224
edcf60c17b feat: notes 2025-03-17 00:39:40 +02:00
user12224
b4501789c3 feat: notes 2025-03-16 23:38:22 +02:00
nyzs
682c4b9617 docs: more documentation on database environment setup 2025-03-07 09:38:11 +01:00
Adam
2b11e67893 fix: improve mail list and thread management with updated hooks and l… (#370)
* fix: improve mail list and thread management with updated hooks and layout adjustments

* conflicts

---------

Co-authored-by: Nizzy <nizabizaher@gmail.com>
2025-03-03 03:24:40 -05:00
Aj Wazzan
f907cf8572 fixes db scripts and prepares for microsoft auth 2025-03-01 14:51:21 -08:00
Adam
7c21468ca2 Merge pull request #349 from Mail-0/fix/once-and-for-all-fix-node_modules
hope this fixes everything
2025-03-01 14:49:19 -08:00
Ahmet Kilinc
13cf92122b hope this fixes everything 2025-03-01 19:12:20 +00:00
Aj Wazzan
fef7a89891 straing to staging 2025-02-28 16:04:58 -08:00
Aj Wazzan
4e24c86c01 feat: Add AI brain and summary features for email
- 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
2025-02-26 13:47:22 -08:00
Sijan Mainali
15ec734338 fix: remove tracked node_modules/.bin files 2025-02-24 23:09:45 -06:00
Aj Wazzan
cf20ee184c Rename project from Mail0 to Zero
- 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
2025-02-24 19:25:30 -08:00
Nizzy
dd34d7d420 monorepo 2025-02-24 21:00:46 -05:00
Jacob
691f84e50d fix: missing migration files 2025-02-14 20:20:24 +10:00
Jacob
1a4dd28171 change: move items around and work with new changes
- Renamed and moved files around to work with new monorepo setup
2025-02-14 20:13:46 +10:00
Jacob
393b980864 Merge branch 'main' of https://github.com/jacobsamo/Mail0 into monorepo 2025-02-14 20:11:57 +10:00