Adds email notifications to users

Also, there's a new function "printService" to recycle code.