bug fix task mailer