here is how u enable IMAP in your GMAIL.
To enable IMAP in your Gmail account:
- Log in to your Gmail account.
- Click Settings at the top of any Gmail page.
- Click Forwarding and POP/IMAP.
- Select Enable IMAP.
- Configure your IMAP client* and click Save Changes.
Here is how you can enable GMAIL IMAP for your iphone