Fix bug on send email.