Improved performance by caching email host computing
Code clean