IMAPFolder.ProtocolCommand
It seems one can call directly into the IMAP protocol via this mechanism, but certain operations are not reflected in Javamail. Specifically, I have a class that issues an UNSELECT command, but the response to IMAPFolder.getFullName() is still the folder before the UNSELECT.
So, an attempt to use unselect/select to optimize folder access does not see viable since something in Javamail gets out of sync and eventually one ends up without knowledge of what folder one points to.
Is there a way, other than close/select, to perform this work?
Is there a way to cause unselect/select to be consistent?

