This java program uses Thread pool executer concept in Java to send millions of emails.