Change check_local_email to check_email;