fix error message when email address not found during username retrieval