fixed bug to send email-2