Juno 4 uses .FRM files to store emails, which are OLE format
This script uses OleFileIO_PL to extract the messages and writes them to mbox format so they can be imported into other software.
It converts \r\n to \r\r\n, which is probably wrong. I just replaced those manually in Notepad++ afterwards.
The files are in mboxo format, so a line starting with >from is ambiguous. Thunderbird opens them in mboxrd format, which interprets these as from . These can also be fixed manually by hand, if you care, by searching for \n>from and replacing it by \n>>from , replacing \n>>from with \n>>>from , etc.