Fix for send mail