I have been trying to write an app that periodically parses the contents of gmail messages. I have been through the JavaMail FAQ and I have looked at a number of examples in
I found an example here that was helpful. My error was the use of "mail.transport.protocol" rather than "mail.store.protocol."