Added mini profiler for debugging purposes
Logging sendign mail