You can choose to “Keep offline data on my computer” or “Remove offline data from my computer.”.Check the “Enable offline mail” option.Select “See all settings,” and then switch to the “Offline” tab.Open your Gmail inbox and navigate to the Settings cog in the top right corner of the browser.Sign in to your Gmail account and then follow these steps:
You can do this using any web browser on both Windows and macOS PCs. To ensure Gmail can function as a desktop app, you first have to enable its native offline mode.