# mutare_phoenix_swoosh v0.1.0 - Table of Contents

> Mutare mutators for Phoenix.Swoosh

## Pages

- [mutare_phoenix_swoosh](readme.md)
- [Changelog](changelog.md)
- [LICENSE](license.md)

## Modules

- Mutator front
  - [Mutare.Phoenix.Swoosh](Mutare.Phoenix.Swoosh.md): [Mutare](https://hex.pm/packages/mutare) mutators for the
[phoenix_swoosh](https://hexdocs.pm/phoenix_swoosh) template-rendering surface — the layer
`Phoenix.Swoosh` adds on top of a Swoosh mailer.

- Mutator families
  - [Mutare.Phoenix.Swoosh.Layout](Mutare.Phoenix.Swoosh.Layout.md): `:mail_layout` — mutates the seam that decides **which layout wraps the rendered body**.
  - [Mutare.Phoenix.Swoosh.RenderBody](Mutare.Phoenix.Swoosh.RenderBody.md): `:render_body` — mutates the calls that decide **which body parts an email renders**:
`Phoenix.Swoosh.render_body/2,3`, the call that renders an email's templates onto its
`html_body`/`text_body` fields, and the format map of `Phoenix.Swoosh.put_new_formats/2`,
which decides what "both parts" even means. Three kinds, variant-labelled

- Marker
  - [Mutare.Phoenix.Swoosh.LayoutConfigured](Mutare.Phoenix.Swoosh.LayoutConfigured.md): A marker `Mutare.Phoenix.Swoosh` injects for a mailer whose `use Phoenix.Swoosh` line
configures a layout (`layout: {LayoutView, :email}`).

