change user.email to text for sending email successfully