I'd like to clean up my Gmail inbox and want to search for messages from people who are not in my contacts.Ideally it would be something like: -from:(is:contact)but is:contact isn't an actual advanced search operator/value.
Search for messages from non-contacts in Gmail
search;gmail;contacts