Issue #38: Simplify the scheduling of sending mails