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.
You can add Yahoo Mail to your iPhone by downloading the official Yahoo Mail app, or by adding your account to the default Mail app.