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
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
toot.jeena.net is one server in the network