Fix bug: overdue tasks email notification