email intent in and working