I have over one milion emails in my inbox in GMail, is there a way to delete them all without doing it 50 by 50 in the UI?

@jeena
Enable IMAP and use Thunderbird or other email client to delete them all at once

@nikolal I don't think Thunderbird will be able to hold over 15 GB of the emails in ram so I can select them on my 16 GB RAM laptop.

Follow

@jeena
Well, yes. But you can delete more than 50 for sure

@nikolal I guess I'm looking for a more automated way, I think I'll try my luck with the gmail API and a python script.

@jeena
That might work, but I guess their API also limits you to some degree

@nikolal might be, but if so then I'll try my luck with a IMAP lib ^^

@jeena
Lol, you can just make that gmail account to forward your emails to new email account, I recommend switching away from google. With that you have empty inbox and you can see all new incoming mail

@nikolal I don't need the email account, I need the space for google drive

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!