hcb
hcb copied to clipboard
Add low spending balance warning email
Summary of the problem
We need to make sure members with spending limits have their limits in mind, and spare them the frustration of having their card decline when they've run out of balance!
Closes #8397
Describe your changes
Adds a warning email in a new ControlsMailer that is sent when a user's spending balance gets low (as described in the issue, except that the $25 threshold is only taken into account when crossed for the first time) after a card authorization or when one of their transactions settles at a different amount.