identified potential bug in MailHandler