Accrue.Emails.TrialEnding (accrue v0.3.1)

Copy Markdown View Source

Trial-ending reminder email (MAIL-05).

Triggered by the customer.subscription.trial_will_end Stripe webhook (usually 3 days before trial_end). Uses the shared transactional MJML scaffold + Accrue.Invoices.Components.footer/1 via HtmlBridge.

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()