clean old emails from gmail and regain some space.
before:m/d/y
search option, select all, and delete.Takeout exports all email, including that on spam and trash folders, and doesn’t export the tags/folders your email is sitting on.
Empty the trash, spam and bin folders before doing the takeout thing (step 1).
To get email organized into individual mbox files instead of having all in one big mbox file, use Gmail MBOX splitter