import { Module } from '@nestjs/common'; import { ExchangeInboxProvider } from './exchange-inbox.provider'; import { ImapProvider } from './imap.provider'; /** * Shared inbox-connection module (IMAP/Exchange). * * Extracted out of DKV (D-01, 14-CONTEXT.md) so any module that needs to * poll a mailbox — e.g. the Phase-14 EmailAlertAdapter (Plan 14-03) — can * import InboxModule and inject ImapProvider / ExchangeInboxProvider without * depending on DKV. DKV imports this module unchanged in behavior; each * module keeps its own, independent mailbox configuration (D-03) — only the * connection code is shared. */ @Module({ providers: [ImapProvider, ExchangeInboxProvider], exports: [ImapProvider, ExchangeInboxProvider], }) export class InboxModule {}