We all have been at some point, our Gmail is completely full. There could be thousands of unrequited emails from websites you're not even aware of. You may also realize that you have to delete your emails when you have no storage left in your Google account out of the entire 15 GB given to you.
To delete all emails in Gmail, follow these steps:
Open your Gmail account and click on the checkbox in the top left corner to select all emails on the current page.
You will see a message at the top of the page that says, "All conversations on this page are selected." Click on the link that says, "Select all conversations that match this search."
Gmail will then select all emails in your account that match the search criteria. You will see a message at the top of the page that says, "All X conversations in [Label] are selected."
Click on the "Delete" button to move all selected emails to the Trash folder
If you want to permanently delete all emails in the Trash folder, click on the "Trash" folder on the left side of the page, then click on the "Empty Trash now" button.
Note: Be careful when deleting all emails in your Gmail account, as this action is irreversible and you will not be able to recover deleted emails. Make sure to backup any important emails before deleting them.