[server] fix mysql multiple id in get_emailusers