Transfer Mozilla Firefox mail folders to Outlook 365.

The University of Helsinki is discontinuing all mail handling by Mozilla Firefox. I will then lose all saved mail in mail folders unless I can transfer it to Outlook 365. The University has instructions how to do it with Microsoft office. However, I have LibreOffice 5.1, not Microsoft office.
I don’t want the trouble to move my saved mail one-by-one, I want to move it folder-by-folder, or all in one go.

Can you provide a link to the Uni instructions?

Yes, here are the instructions:
https://helpdesk.it.helsinki.fi/en/instructions/collaboration-and-publication/e-mail/copying-messages-mappi-e-mail-office-365-e-mail-0 . I was directed to the page “Copying messages from Mappi e-mail to Office 365 e-mail” which leads me to “1. Linking Mappi e-mail to Outlook.” Below that headline is a form showing the word FILE which is not clickable. The page tells me to open Start > All Programs > Microsoft Office 2013 > Outlook 2013, but I lack Microsoft office

If I understand well, you have to transfer your email web interface towards Outlook 365, nevertheless e-mails can be accessible with navigator.
Out of doubt you can use Thunderbird, did you try it ?

The instructions assume that you will use the Outlook email component of MS Office - LibreOffice does not have an email component so you cannot use LibreOffice.

You speak of mail handling by Firefox; Firefox is not a mail client. Presumably you have been using Firefox to access some sort of web-based mail service; is that what Mappi is? If this is the case, you can export your mail following the instructions at https://helpdesk.it.helsinki.fi/en/instructions/collaboration-and-publication/e-mail/archiving-messages-webmail

In any case, LibreOffice can’t help. The uni has instructions for those who do not wish to use Office 365 at https://helpdesk.it.helsinki.fi/en/instructions/collaboration-and-publication/e-mail/mappi-mail-becomes-obsolete

As suggested by Librefrance you might consider Thunderbird as a mail client.