refactored email code to make it more modular
Merge branch 'master' of github.com:presidentJFK/Ign