Instructions apply toiOS version9 and later.

Go to theInboxand selectEdit.

Tap each message you want to delete or move.

Three screens showing Edit, Archive, and Trash Selected Messages buttons in iOS Mail app

A blue check mark appears next to each selected email.

To deselect an email, tap it once more to remove the check mark.

ChooseMoveorArchivedepending on what you want to do with the emails.

Select all emails option in Gmail

To delete emails rather than archive the emails, tap and holdArchive, then selectTrash Selected Messages.

Deleted emails are moved to the Trash folder.

iOS 9.0.2 includes aTrash Allbutton for some folders, but the feature was removed in iOS 10 and newer.

Gmail filter to delete emails from sender

However, not all iOS versions support this, and neither do all email folders.

Another option is to connect your email to anemail clienton your setup, then empty the folders.

To automatically manage emails, use email filters and rules, which the iOS Mail app doesn’t support.

Using IMAP from your phone is the same as loading the emails from the mail server.

The technique for setting up email rules is different for each email provider, but it’s usually self-explanatory.

For example,creating email rules in Gmailisn’t the same asfiltering emails in Yahoo Mail.