adds email configuration