fix importing with invalid creds and email link