You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Workers auto-restart on crash; accounts are reassigned to available workers
84
85
- BullMQ queues distribute jobs to webhooks, submit, and documents workers
85
86
87
+
### IMAP Proxy
88
+
89
+
The IMAP proxy (`lib/imapproxy/`) allows standard IMAP clients to access EmailEngine-managed accounts. It abstracts OAuth2 complexity, enabling legacy clients to connect to Gmail, Microsoft 365, and other OAuth2-only providers.
90
+
91
+
**How it works:**
92
+
1. Client connects and authenticates with account ID + password/token
93
+
2. Proxy validates credentials and establishes connection to real mail server
94
+
3. After auth, all IMAP commands pass through transparently to backend
95
+
96
+
**Authentication methods:**
97
+
- Global password: Configure `imapProxyServerPassword` setting
98
+
- Access tokens: 64-character hex token with `imap-proxy` or `*` scope
99
+
100
+
**Configuration** (settings or environment variables):
101
+
-`imapProxyServerEnabled` / `EENGINE_IMAP_PROXY_ENABLED` - Enable the proxy
102
+
-`imapProxyServerPort` / `EENGINE_IMAP_PROXY_PORT` - Listen port (default: 2993)
0 commit comments