Moving old mail off server into Pan database

I have a lot of old mail on a server that I would like to move off the cloud and dump into a Panorama database and be able to search browse through as if I were in a mail client, should the need arise. Has anyone built anything like that? Any suggestions on how to go about it?

I don’t have the data yet. Turns out my host disabled downloading, but I expect to get it soon. No MAIL like functionality is required. I just want to strip the data down to the To and From fields and have the email body in a field that I can view or search.