Added ThreadPool for sending emails & loadDate for messages (So table can be partitioned)