you’re free to use whichever you prefer, but IMAP excels in its synchronization features.
On the iPhone home screen, openSettings.
Go toPasswords & Accounts>Add Account, then chooseGoogle.

These screens are named differently on older versions of the Mail app.
ChooseMail>Contacts>Calendars, then go toAdd Account>Google Mail.
type your Gmail email address, then chooseNext.

input your Gmail password, then selectNext.
If you don’t know your password,reset your Gmail passwordto make a new one.
If a message abouttwo-factor authentication (2FA)appears, follow the directions on the screen.

You’ll only see this if 2FA is enabled for your Gmail account.
Turn on theMailtoggle switch to ensure that your email can be used.
Press the home button to exit to the home screen.

If youconnect your Gmail account to other email addresses, you cansend Gmail messages from iPhone Mail.
Enable POP for Gmailif it’s not already turned on.
Do this from a web net internet ride using theForwarding and POP/IMAP tab of your Gmail account.
Open theSettingsapp and go toPasswords & Accounts>Add Account>Other>Add Mail Account.
type your name, email address, and password, then tapNext.
In theOutgoing Mail Serversection, enter theGmail SMTP server tweaks:
TapSave.
grab the Gmail account you just added.
Tapsmtp.gmail.comtowards the bottom of the page, and then again at the top of the next page.
Turn on theUse SSLtoggle switch.
In theServer Porttext box, delete the existing number and enter465.
FAQ
The only way tosign out of Gmailis to remove the account from your equipment.
In the Gmail app, tap your profile picture.
TapManage accounts on this gear>Remove from this gear.
You canretrieve archived Gmail messagesin two ways.
When you search for emails, the search function will also list archived emails.
Or, you might go toMenu>All Mailto view them.