JFile jFile = new JFile();
jFile.initialize(mailbox, factory);
String ts = (new DateTime()).toString("yyyy-MM-dd_HH-mm-ss_SSS");
Path path = directoryPath.resolve(ts + ".jalog");
System.out.println(path.toAbsolutePath());
jFile.open(
path,
StandardOpenOption.READ,
StandardOpenOption.WRITE,
StandardOpenOption.CREATE);