debugging mailer bug