Fixing set email configuration