Skip to content

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.

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
  • Registers extension: inboundMailProviderinmemory