Is it possible to disable the caching of STATUS command responses?
Created May 7, 2012
John Zukowski Setting the mail.imap.statuscachetimeout property to zero will disable the caching. By default, the cache setting is 1 second (1000).
props.put("mail.imap.statuscachetimeout", "0");