Google putting machine smarts into new messaging app