How to Access Gmail on an iPhone, iMac and Apple Mail
Enable IMAP for Gmail.
On the iPhone home screen, open Settings.
Go to Passwords & Accounts > Add Account, then choose Google. ...
Enter your Gmail email address, then tap Next.
Enter your Gmail password, then tap Next. ...
If a message about 2-step verification appears, follow the directions on the screen.