add check HostEmailUserName function and test case