Swiping to delete or archive an email makes managing your Gmail messages more accessible in the Mail app for iPhone. In this guide, we'll show you how to enable any iPhone running iOS 12 or later to delete or archive emails using the swipe feature, and how to use the feature.
Here's how to enable the option to delete or archive emails with a swipe:
Open the Settings app.
Go to Passwords & Accounts (formerly Accounts & Passwords).