1. Configure your Gmail (or Google Apps) account
These steps will guide you to enable IMAP access in your Gmail account (required to use Apple Mail) and install a special "lab" feature to avoid downloading duplicate messages.
- Login to Gmail.
- Go to Settings, Forwarding and POP / IMAP.
- Enable IMAP access by clicking on the Enable IMAP radio button and click on Save changes.
- Go to Settings, Labs.
- Look for the Advanced IMAP controls feature and enable it. Don't forget to Save changes.
- Go to Settings, Labels.
- Look for the All mail label, and click on it's Show in IMAP checkbox to disable it.
- Do the same for the Starred label.
2. Configure Apple Mail
These steps describe how to add your email account to Apple Mail.
- Open Mail.
- Go to Mail, Preferences, and choose the Accounts tab.
- Click the + button to create a new account.
- Fill in your name, full email address (email@example.com) and Gmail password.
- Mail will try to autodiscover your settings, but won't be able to do it, so it will ask for your email account configuration in the Incoming Mail Server dialog:
- In Account type choose IMAP.
- In Description write a name for your email account. This can be your email address.
- In Incoming mail server type imap.gmail.com.
- In Username type again your full email address (firstname.lastname@example.org).
- Type your Gmail Password.
- Click Continue.
- Provide the following in the Outgoing mail server dialog:
- In Description write a name for the outgoing server. It can be only "Gmail".
- In Outgoing mail server type smtp.gmail.com.
- Check the Use only this server and Use authentication options, so they be enabled.
- Type again your full email address in Username, and your Gmail password in Password.
- Click Continue.
- Review your Account summary, make sure the Take account online checkbox is enabled and click Create.
- You can close now the Preferences dialog.
Set special purpose folders
At this point you can start using your email account in Apple Mail, but it is recommended to follow next steps to fine tune some Mail behaviors related to special folders to store sent items, drafts, spam and deleted items (trash.)
- Find your email account folders in the Mail folder hierarchy, and expand the [Gmail] folder.
- Click on the Drafts folder to select it.
- Go to Mailbox, Use this mailbox for, Drafts.
- Click on the Sent Mail folder to select it.
- Go to Mailbox, Use this mailbox for, Sent.
- Click on the Spam folder to select it.
- Go to Mailbox, Use this mailbox for, Junk.
- Click on the Trash folder to select it.
- Go to Mailbox, Use this mailbox for, Trash.