Accrue.Emails.CardExpiringSoon (accrue v0.2.0)

Copy Markdown View Source

Card-expiring-soon reminder email.

Triggered by the Accrue.Workers.DetectExpiringCards cron sweeper when a saved payment method is within the reminder threshold of its exp_month/exp_year. Not a Stripe webhook — this is Accrue-internal cron dispatch (see Phase 3).

Summary

Functions

Returns the raw MJML template. Useful for debugging rendering issues.

Safely render the MJML template using Phoenix.HTML

Functions

debug_mjml_template()

Returns the raw MJML template. Useful for debugging rendering issues.

render(assigns)

Safely render the MJML template using Phoenix.HTML

render_text(assigns)

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

subject(arg1)

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