If you want to download all the emails in order to backup gmail emails then you must follow these steps:-
1. The first step is to login to your Google account.
2. Then click on Data and Privacy and scroll down to find the ‘Data from apps and services that you use’ section.
3. Now click on download your data.
4. Then follow the on-screen instructions to download all the emails in your Gmail.