added email configuration