Added email and listening/userinit features to machine learning.  Several other small features added as well