Monthly balance update emails
Send users balance update emails periodically.
For the first iteration, send balance updates to users each month when having a non-zero balance. Extend this in the future in #221.
-
Create model to track last sent email type for user: EmailHistory
-
Hourly task to send update emails -
Gather data for email to send -
Design monthly email -
Send email through low priority job -
Update mail history time when sending email -
Spread scheduled task across multiple jobs where possible
Edited by Tim Visée