Recommended IMAP Settings for Gmail on Mail.app

There are so many different versions that differ from the official google recommended settings. Can anyone link me to a recent, 2011 version of someone's recommended settings?
If it is a standard @gmail.com account, entering your email and password into the Mail app will set everything up for you. No need to even look for instructions.
If it is a standard @gmail.com account, entering your email and password into the Mail app will set everything up for you. No need to even look for instructions.

But gmail's recommended settings go against mail.app's default setup when you do as you said
You can also set up gmail as exchange if you want to sync multiple calendars. Just google exchange setup.
But gmail's recommended settings go against mail.app's default setup when you do as you said

Do you want it to "just work" or do you want to mess with it? Mail.app handles it just fine.
You can also set up gmail as exchange if you want to sync multiple calendars. Just google exchange setup.

This is on the OSX Mail.app, not the iOS mail client.
Yep. Mail.app rocks and it will just work. I've got two different gmail accounts set up in Mac Mail and I didn't do anything special to set them up and they work great.
This is on the OSX Mail.app, not the iOS mail client.

So you are saying you can't set up gmail on the iPhone as exchange and sync multiple calendars?
The gmail specific setting is terrible. It doesn't sync correctly and doesn't notify of new mail, and doesn't push.

This is the setup I used, coming straight off the google support pages. My information no pushes correctly, rather than requiring manual updates for mail.

Original thread: https://forums.imore.com/threads/recommended-imap-settings-for-gmail-on-mail-app.218049/