I want to suggest you MacSonik Gmail Backup tool for Mac that helps to back up Gmail mailboxes into various file formats like PST, PDF, MBOX, EML, MSG, etc. on Mac. The software gives you an option to back up Gmail emails with or without attachments. It also maintains the folder hierarchy throughout the conversion process. Moreover, it is compatible with all versions of MacOS.