Outlook is an email client - you can't retrieve mail from it using JavaMail. Do you mean Exchange? If so, then, yes, JavaMail is the right API to do so. JMS, on the other hand, is used connect to messaging servers, and has nothing to do with mail. The JavaRanch J2EE FAQ has some links to introductory articles and JavaMail FAQs.