If you need to remove all your e-mail from Gmail, you can always use Thunderbird...

@jmcrookston@mastodon.social

If you need to remove all your e-mail from Gmail, you can always use Thunderbird and POP (download, essentially) the mail to your local computer.

Added benefit is your on-line inbox ends up completely clean and tidy :)

You do lose all the folders. You can preserve them, but it's a little more complicated and you have to use IMAP (a different protocol).