We need to trigger unselected command in IMAP via Javamail. Is there anyone can tell?
momoren
If the folder is open READ_WRITE:
folder.close(false);