An air gap is required. Most under counter ice machines do not produce much ice. What will you be using it for? You might be able to put in a condensate pump but I would avoid that if possible. An indirect drain with a p-trap would prevent bugs from crawling inside.