use a thread pool for sending emails to make it faster.