Small helpers used to deliver transactional emails for the Accounts flow (confirmation, magic link, and email change instructions).
These functions are thin wrappers over the configured application Mailer.
Summary
Functions
Deliver a notification that the user's account has been activated by an admin.
Silently returns {:ok, :no_email} if the user has no email address.
Warn a user that their account will be deleted after days of inactivity.
Deliver instructions to log in with a magic link.
Send a simple test email to the given recipient address. Used by admin tools
to verify SMTP configuration and delivery.
Returns the same shape as deliver/3.
Deliver instructions to update a user email.
Functions
Deliver a notification that the user's account has been activated by an admin.
Silently returns {:ok, :no_email} if the user has no email address.
Warn a user that their account will be deleted after days of inactivity.
Sent by Gamend.Accounts.InactivityNotifier ahead of the retention
sweep; signing in resets the clock, so the action the mail asks for is just
"log in".
Deliver instructions to log in with a magic link.
Send a simple test email to the given recipient address. Used by admin tools
to verify SMTP configuration and delivery.
Returns the same shape as deliver/3.
Deliver instructions to update a user email.