# `Accrue.Emails.DunningActionRequired`
[🔗](https://github.com/szTheory/accrue/blob/accrue-v1.5.1/lib/accrue/emails/dunning_action_required.ex#L1)

Dunning step-2 ("action required") email — D-01, D-02.

The firmer second touch in the default dunning campaign (`after_days: 5`).
The first payment retry has still failed; this email names the consequence
(loss of access) and an approximate cutoff date, and deep-links the portal
update-payment-method flow via the `@update_pm_url` CTA. Carries no invoice
PDF (only `:invoice_finalized`/`:invoice_paid` attach one).

Clones the `Accrue.Emails.CardExpiringSoon` Mailglass + `Phoenix.Component`
convention. The new atom `:dunning_action_required` is the published-API
commitment (resolved via `Accrue.Workers.Mailer.default_template/1`).

# `deliver`

# `deliver_later`

# `message`

```elixir
@spec message(map()) :: Mailglass.Message.t()
```

# `new`

# `render`

```elixir
@spec render(map()) :: String.t()
```

# `render`

# `render_text`

```elixir
@spec render_text(map()) :: String.t()
```

# `subject`

```elixir
@spec subject(map()) :: String.t()
```

---

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