Issue #12: Managed to simplify the access to the imap/pop3 server. Doing it know through the Javamail resource provided by the application server.