To delete all emails on Gmail, open the search box and filter the messages by clicking the select checkbox and then clicking the trash icon and select all conversations. You can also filter using the sender, date, label, or keyword to make it easier to delete the emails.
To mass delete emails on Gmail, open Gmail, choose a category or search term, click the Select All checkbox, then click Select all conversations, and press the Delete (trash) icon.