Created a singleton email class, well refactor other email code once this
is pulled in
Merge pull request #282 from Lynart/emailSingleton

Created a singleton email class