This is what should work (if javax.mail did it's work fine)... haha, sure...
Manual multipart handling
Refresh when the every mail has been read and mark read mails on the server
Merge pull request #18 from kenkeiras/javax-mail

Javax mail