# `PhoenixKit.Modules.Emails.Provider`
[🔗](https://github.com/BeamLabEU/phoenix_kit_emails/blob/0.4.2/lib/phoenix_kit/modules/emails/provider.ex#L1)

Unified email provider for PhoenixKit.

Implements the `PhoenixKit.Email.Provider` behaviour, which core's
`PhoenixKit.Mailer` calls through `Provider.current()`. The `@behaviour`
declaration is load-bearing: without it the compiler cannot verify that this
module actually satisfies the contract, so a callback added (or changed) in
core would compile clean here and only blow up at runtime, in the send path.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
