To correct bug sending email