### Added IMAP integration This PR adds support for connecting email accounts via IMAP protocol, allowing users to sync their emails without OAuth. #### DB Changes: - Added customConnectionParams and connectionType fields to ConnectedAccountWorkspaceEntity #### UI: - Added settings pages for creating and editing IMAP connections with proper validation and connection testing. - Implemented reconnection flows for handling permission issues. #### Backend: - Built ImapConnectionModule with corresponding resolver and service for managing IMAP connections. - Created MessagingIMAPDriverModule to handle IMAP client operations, message fetching/parsing, and error handling. #### Dependencies: Integrated `imapflow` and `mailparser` libraries with their type definitions to handle the IMAP protocol communication. --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Félix Malfait <felix.malfait@gmail.com> Co-authored-by: Félix Malfait <felix@twenty.com>
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
PG_DATABASE_URL=postgres://postgres:postgres@localhost:5432/test
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
APP_SECRET=replace_me_with_a_random_string
|
|
SIGN_IN_PREFILLED=true
|
|
EXCEPTION_HANDLER_DRIVER=CONSOLE
|
|
SENTRY_DSN=https://ba869cb8fd72d5faeb6643560939cee0@o4505516959793152.ingest.sentry.io/4506660900306944
|
|
MUTATION_MAXIMUM_RECORD_AFFECTED=100
|
|
|
|
FRONTEND_URL=http://localhost:3001
|
|
|
|
AUTH_GOOGLE_ENABLED=false
|
|
MESSAGING_PROVIDER_GMAIL_ENABLED=false
|
|
MESSAGING_PROVIDER_IMAP_ENABLED=false
|
|
CALENDAR_PROVIDER_GOOGLE_ENABLED=false
|
|
MESSAGING_PROVIDER_MICROSOFT_ENABLED=false
|
|
CALENDAR_PROVIDER_MICROSOFT_ENABLED=false
|
|
|
|
AUTH_GOOGLE_CALLBACK_URL=http://localhost:3000/auth/google/redirect
|
|
AUTH_GOOGLE_APIS_CALLBACK_URL=http://localhost:3000/auth/google-apis/get-access-token
|
|
MESSAGING_PROVIDER_GMAIL_CALLBACK_URL=http://localhost:3000/auth/google-gmail/get-access-token
|
|
|
|
AUTH_MICROSOFT_CALLBACK_URL=http://localhost:3000/auth/microsoft/redirect
|
|
AUTH_MICROSOFT_APIS_CALLBACK_URL=http://localhost:3000/auth/microsoft-apis/get-access-token
|
|
|
|
CLICKHOUSE_URL=http://default:clickhousePassword@localhost:8123/twenty |