Changed email configuration from SMTP to sendmail