static void mail_openReadOnlyIfClosed(Folder f) ctex { if (!f.isOpen()) f.open(f.READ_ONLY); }