Fixed asynchronous exception
Switched mail engine
Added mail templates