Gmail – How to specify a sender and delete emails that do *not* come from that sender

gmail

I would like to delete all email messages that did not come from Mr. A. In other words, I would like to keep messages that are only from Mr. A.

How can I do this, using Gmail?

Best Answer

Are you sure your only criteria is that the messages aren't from a single person? You don't want to include a label or something?

Caution:

If you use the default conversation view, it's very possible that you'll get conversations that have some messages from your target and some not; the search doesn't distinguish and you may delete messages you didn't mean to. You may want to turn off conversation view for this.

You can do what you want by following these steps:

  1. Search for -from:mister_a@gmail.com

    That will catch all messages where the "from:" address is not Mister A.

  2. Use the checkbox above the list of messages to select all conversations/messages on the page

  3. If there's more than one page of results, click the link that says Select all conversations that match this search to select all of the conversations/messages on subsequent pages

  4. Click "Delete"

All the conversations/messages are now in your "Trash". If, for some reason, you deleted something you didn't mean to, you can recover it.