If you want reliable tool then I would suggest to use Export Mac OLM File Converter. This software provides option to import Mac OLM files into Gmail account in a simple manner. This is the quickly remove password protection, corrupts, errors and, etc. As well as restore OLM files all database into multiple file-formats according to users.https://www.kdetools.com/mac/olm/gmail/