new support for email retrieval in login