add getUserInfo method & improve email command