modify setMail by validateMail