added email configuration for authentication