debug in sendMail