is:unread -is:starred <-- go through your inbox and star what you want to keep, this filter will help you delete everything else unread. Add something like older_than:1y to also prune your Gmail from time to time.