Skip to content

common_reports.emails

The emails domain — delivery plus typed provider-neutral mailbox operations.

base.py BaseEmailClient — established SEND / READ pipelines and validation. core.py CoreEmailClient — fills the seams by delegating to an EmailProvider. client.py EmailClient — thin wrapper: detection + routing + factory classmethods (from_env / from_smtp / from_gmail). Composes an engine. providers/ the effects layer (SMTP / IMAP / Gmail adapters). registry.py provider registry (string-key dispatch, lazy — from common-core).

Reads creds from injected env or an explicit config — never fetches Doppler. The only effects are in providers/, only on an actual send/read/watch call.