Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz Source: /opt/alga-psa on psa.joliet.tech
44 lines
1.7 KiB
Markdown
44 lines
1.7 KiB
Markdown
# IMAP In-App Processing Flags
|
|
|
|
Use these environment variables to control IMAP webhook execution mode for inbound email processing.
|
|
|
|
## Core in-app enablement
|
|
|
|
- `IMAP_INBOUND_EMAIL_IN_APP_PROCESSING_ENABLED=true`
|
|
- Enables IMAP webhook in-app processing for all tenants/providers.
|
|
- `IMAP_INBOUND_EMAIL_IN_APP_TENANT_IDS=<tenant-a,tenant-b>`
|
|
- Enables IMAP in-app mode for specific tenants.
|
|
- `IMAP_INBOUND_EMAIL_IN_APP_PROVIDER_IDS=<provider-a,provider-b>`
|
|
- Enables IMAP in-app mode for specific providers.
|
|
|
|
The IMAP-specific flags are OR-ed with the shared in-app flags:
|
|
|
|
- `INBOUND_EMAIL_IN_APP_PROCESSING_ENABLED`
|
|
- `INBOUND_EMAIL_IN_APP_TENANT_IDS`
|
|
- `INBOUND_EMAIL_IN_APP_PROVIDER_IDS`
|
|
|
|
## Unified pointer queue handoff
|
|
|
|
- IMAP webhook ingestion now uses unified pointer queue handoff only (`handoff: "unified_pointer_queue"`).
|
|
- Legacy in-memory IMAP async queue controls were removed.
|
|
- `IMAP_WEBHOOK_SECRET` must be set to the same non-empty random value for the
|
|
server and email-service containers. The email-service sends it as
|
|
`x-imap-webhook-secret`; the server rejects IMAP webhook requests when it is
|
|
missing or mismatched.
|
|
|
|
## Artifact concurrency bound
|
|
|
|
- `IMAP_INBOUND_EMAIL_IN_APP_ARTIFACT_CONCURRENCY=1..8`
|
|
- Bounds per-message attachment artifact processing concurrency.
|
|
- `INBOUND_EMAIL_IN_APP_ARTIFACT_CONCURRENCY=1..8`
|
|
- Shared fallback env used when IMAP-specific value is unset.
|
|
|
|
## Ingress caps honored by webhook
|
|
|
|
- `IMAP_MAX_ATTACHMENT_BYTES`
|
|
- `IMAP_MAX_TOTAL_ATTACHMENT_BYTES`
|
|
- `IMAP_MAX_ATTACHMENT_COUNT`
|
|
- `IMAP_MAX_RAW_MIME_BYTES`
|
|
|
|
The IMAP webhook enforces these caps before in-app persistence and records structured `ingressSkipReasons` for over-limit artifacts.
|