fixed the email bug. fixed the smtp settings