@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.
@jeena
Well, yes. But you can delete more than 50 for sure
@nikolal I am running https://gist.github.com/jeena/6f510fdd8f05f0b7b512e23aad8ea9a1 now but it looks like it will need to run for a month straight
@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
@nikolal might be, but if so then I'll try my luck with a IMAP lib ^^