SMTP framework written in Java