How can I clean out that All Mail folder without removing the items in labels to get space in storage?

  • 2
    "All mail" isn't a folder or even a label. It is, as its name suggests, all of the email messages in your account. So, yes, it does take up storage. – ale Oct 13 '17 at 22:39

In order to remove all email that does not have a label assigned to it, search for any message that does not have a user assigned label. Select all messages that match this search, delete.



If you have email that are also in the inbox that you do not want removed then negate those.

has:nouserlabels -in:inbox


Other options may include the following

has:nouserlabels -in:sent -in:chat -in:draft -in:inbox 


  • Maybe this used to work when you wrote this comment, but right now none of these suggestions work, unfortunately. – Erik van der Neut Oct 5 '19 at 0:28

It's not possible to clean out "All Mail folder" without removing messages in labels to get space because the messages are the same.

  • The question is how can I remove all email that does not have a label. It is possible to do this. – larsen161 Jan 10 '19 at 6:30
  • @larsen161, I tried your suggestions for this, but none of those are working. I'm in a situation where Gmail is saying I exceeded my 15 GB quota with just email, and I have removed all emails before 2019 from Gmail (and backed them up to local mail folders on my Mac), and now it turns out all those messages are still on Gmail servers and ONLY visible in the All Mail folder. I have tried removing them from there with a "before: 2019" filter, but that only allows me to delete 100 at a time. Very frustrating. I've done that year by year, but at "before: 2010" even that stopped working! Fustrating – Erik van der Neut Oct 5 '19 at 0:35
  • @ErikvanderNeut You should post your comment into the larsen answer, actually, you should post a new question. – Rubén Oct 5 '19 at 0:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.