To get started using Gmail keyboard shortcuts, which are turned off by default, you need to turn them on through Gmail's settings.
You can search email on your iPhone and filter by different categories in the Mail or Gmail app. Here's what you need to know to do it.