I am using gmail on Thunderbird on Ubuntu 19.10. I configured the Thunderbird for IMAP access with gmail and emails were probably downloaded as at the time of taking screenshot download was happening. I do not know the location but I can see all the folders. Here is a screenshot. my gmail inbox is full 13 gb out of 15 gb. https://superuser.com/questions/1502126/13-66-gb-out-of-15-gb-used-in-gmail-delete-emails-that-consumed-space
Some one suggested me to use Thunderbird. Now I have configured Thunderbird to use with gmail now how to I go deleting thousands of emails I have to find some emails which might be having photos or documents which might be heavy in size. Is there an easy way or script to do the same any link to a GitHub script for sorting out emails based on size or attachments etc. Which I can try in Ubuntu 19.10.