A distributed MultiThreaded java Application that Sends SMTP Emails read from a database