fix for email_config