Open Settings, Connections. IMAP works with any provider and needs no extra setup.
Google and Microsoft need an OAuth client of your own:
- Google: set
GOOGLE_CLIENT_IDandGOOGLE_CLIENT_SECRET. The redirect URI ishttps://your-domain/api/auth/callback/google. - Microsoft: set
MICROSOFT_CLIENT_IDandMICROSOFT_CLIENT_SECRET. The redirect URI ishttps://your-domain/api/auth/callback/microsoft.
Add the variables to deploy/.env, then run docker compose up -d in the deploy folder. The mailbox sync runs every five minutes inside the API. MAILBOX_SYNC_INTERVAL_MS changes that.