title: JavaMail get only new messages
body: <p>I was wondering if there was a way to get only new messages in javamail. For example, on an initial load, get all of the messages in the inbox, and store them. Then whenever the application loads again, only get the new messages instead of reloading them all again.</p>
  
  <p>Is this possible with javamail, how does it work?</p>
  
  <p>A bit of background, I'm trying to create a simple email client in android, and I have a test java project that successfully downloads all my emails.</p>
  
  <p>Thanks!</p>