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?
Use Thunderbird or other muas
@selea urgh, that will take forever ...
@opal @selea I am running https://gist.github.com/jeena/6f510fdd8f05f0b7b512e23aad8ea9a1 now but it looks like it will need to run for a month straight
@guido on which website?
@jeena within gmail
@guido ah haha, you answered to a 3 moths old question, now I get it.
But now that you mention it I need to check how it went for the script which deleted everything: https://gist.github.com/jeena/6f510fdd8f05f0b7b512e23aad8ea9a1
@guido ah it only deleted 10k mails and stopped for some reason.
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.
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.
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 ^^
@nikolal I am running https://gist.github.com/jeena/6f510fdd8f05f0b7b512e23aad8ea9a1 now but it looks like it will need to run for a month straight
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
@jeena Enable pop3 access and install thunderbird?
@silver I would guess that Thunderbird won't be able to handle selecting one million emails, let alone processing the deletion.
@jeena are going back to Gmail?
@cjk101010 no, I just have an old account for the house in Poland where it send about 1k emails with attachments from the CCTV cams per day for years and I never deleted it, now I want to use the 15 GB for google drive instead to store video of movement from monionEye offsite on that account but it's full already ^^
@jeena 😂 a classic Jeena
@jeena delete and reopen the account?
@Xjs I fear that they don't release the username for quite some time after you delete it
@jeena You should read them first.
@jeena There might be something important in there. Check the spam folder too.
@jeremiah no it's a special account
@jeremiah haha, you're so funny :D
@mike the question is how to do it. Is there a way in the gmail UI? Or can I do it in Thunderbird?
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!