add api checkemail, sys/ichats