"""Provider-neutral delivery contract.""" from __future__ import annotations from dataclasses import dataclass @dataclass(frozen=True) class SendResult: request_id: str message_id: str class EmailProvider: def send(self, *, recipient: str, subject: str, html_body: str, text_body: str, metadata: dict[str, str]) -> SendResult: raise NotImplementedError def suppressed_addresses(self) -> dict[str, str]: """Return normalized address-to-reason mappings from the provider.""" raise NotImplementedError