fixed email retrieval in mongo