https://thejavasea.com/threads/smtp-mailer-multithreaded-thejavasea.260/