In Gmail you can set up filters to perform actions on incoming mail that meets criteria that you establish. For example, you can create a filter to send mail from your boss to a folder labeled "IMPORTANT." Below are some basic instructions for setting up filters. Note that filters can be very powerful, so select your criteria carefully to avoid unexpected results.
Go to the Gear icon and choose Settings.
Choose Create a new filter (bottom center of screen).
In the next screen define what you want Gmail to do with the search results.
Note that you can:
- Run a search on your existing email (checkbox at bottom “Also apply filter...”)
- Send it to the archive (not stored in your inbox)
- Delete it
- Apply labels
- Never send it to SPAM (whitelist)
- Send a canned response
- And more.