inbound-provider-inmemory
Registers a scriptable in-process "inmemory" provider for inbound-mail-foundation. Seed messages with seedInboundMessage(accountId, msg) — an active watch pushes them immediately (IDLE simulation) and the cursor-based fetch re-delivers them on the reconciliation path, exercising the foundation dedup guarantee. Error injection via failNextFetchWith/failNextVerifyWith/emitWatchError; reset state with resetInboundInMemory(). For tests, demos and sample apps — not for production.
How it fits
Section titled “How it fits”What this feature needs to run (Requires, top) and the write commands it provides (Provides, bottom).
flowchart TB
n_inbound_provider_inmemory["inbound-provider-inmemory"]
subgraph how_reqs["Requires"]
n_inbound_mail_foundation["inbound-mail-foundation"]
end
n_inbound_mail_foundation --> n_inbound_provider_inmemory
Dependencies
Section titled “Dependencies”- Requires:
inbound-mail-foundation - Activation: always on (not toggleable)
Extensions & cross-feature APIs
Section titled “Extensions & cross-feature APIs”- Registers extension:
inboundMailProvider→inmemory