Importing Gmail into Mail

Hello,
I have a Gmail account that is years old. It is trying to import a ton of old messages. How do you guys use your gmail on your laptop? Just straight through the website? Is there a way to sync it similar to the iPhone, where you read one and file it in a folder from the laptop and it does the same on the website?

Thanks!! User uploaded file

Macbook 2.4/2x2gb, iPhone3G, PowerMacG4, Mac OS X (10.5.4)

Posted on Sep 6, 2008 3:46 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 7, 2008 1:59 PM

Hello Danielle.

The following are some info on how to set up the Mail application that is part of OS X for use with Gmail.

_*Apple Mail and GoogleMail via IMAP*_

*Activating IMAP for Google Mail*
If you haven’t activated access via IMAP for Google Mail already, follow the instructions given by Google [here|http://mail.google.com/support/bin/answer.py?answer=77695&topic=13294]. It boils down to this:
1) Sign in to Gmail.
2) Click "Settings" at the top of any Gmail page,
3) click "Forwarding and POP/IMAP",
4) select "Enable IMAP".
5) Click "Save Changes".

*Creating a new account in Apple Mail*
To add a Google Mail IMAP account in Mail.app, go to File > Add Account. A wizard will open which prompts you to insert your Name, the eMail-address of the new account and the password. Don’t use the option for automatic configuration if it’s available. Info on what to type into the different fields can be obtained from Google [here|http://mail.google.com/support/bin/answer.py?answer=78799&topic=12814]. The most important are:
1) Incoming Server: imap.gmail.com, port 993 (using SSL)
2) Outgoing Server: smtp.gmail.com, port 465 or 587 (using SSL)
3) Your account name is your full email address including "@gmail.com" (without the quotation marks)

*Configuring the Google Mail account in Apple Mail*
After you have added your Google Mail IMAP account to Mail.app, you’ll find a section for Google Mail in Mail.app’s sidebar with subfolders like "All Mail" (which has in turn several subfolders) and folders for each label you created with GoogleMail. Now you have to configure the account properly. Despite what [Google recommends|http://mail.google.com/support/bin/answer.py?answer=78892&topic=1281 4], I found the following settings to work best for me.

In the sidebar, navigate to the subfolders Trash/Sent/Drafts/Junk of "Google Mail" (the one with the white folder icon instead of a blue one) in turn and go to "Mailbox" menu > "Use this mailbox for..." > Trash/Sent/Drafts/Junk respectively. Afterwards these folders show up as subfolders to the main Trash/Sent/Drafts/Junk folders in the sidebar (and at the same time disappear from the GMail section). Among others this step is necessary because of Google Mail’s implementation of labels. E.g., as Google states [here|http://mail.google.com/support/bin/answer.py?answer=78892&topic=12814]:
Messages that are deleted from an IMAP folder (...) only have that label removed and still exist in All Mail

So if you want to delete a message you have to set the option to "Use this mailbox for… Trash" as described above. Same applies to sent messages etc.
Furthermore, make sure every checkbox in Mail's Preferences > Accounts > GoogleMail > Behavior is checked . (Some will already and automatically be checked when you apply the option "Use this mailbox for..." as described above).

Good computing.

floba

(MN456)
5 replies
Question marked as Top-ranking reply

Sep 7, 2008 1:59 PM in response to Danielle Marie

Hello Danielle.

The following are some info on how to set up the Mail application that is part of OS X for use with Gmail.

_*Apple Mail and GoogleMail via IMAP*_

*Activating IMAP for Google Mail*
If you haven’t activated access via IMAP for Google Mail already, follow the instructions given by Google [here|http://mail.google.com/support/bin/answer.py?answer=77695&topic=13294]. It boils down to this:
1) Sign in to Gmail.
2) Click "Settings" at the top of any Gmail page,
3) click "Forwarding and POP/IMAP",
4) select "Enable IMAP".
5) Click "Save Changes".

*Creating a new account in Apple Mail*
To add a Google Mail IMAP account in Mail.app, go to File > Add Account. A wizard will open which prompts you to insert your Name, the eMail-address of the new account and the password. Don’t use the option for automatic configuration if it’s available. Info on what to type into the different fields can be obtained from Google [here|http://mail.google.com/support/bin/answer.py?answer=78799&topic=12814]. The most important are:
1) Incoming Server: imap.gmail.com, port 993 (using SSL)
2) Outgoing Server: smtp.gmail.com, port 465 or 587 (using SSL)
3) Your account name is your full email address including "@gmail.com" (without the quotation marks)

*Configuring the Google Mail account in Apple Mail*
After you have added your Google Mail IMAP account to Mail.app, you’ll find a section for Google Mail in Mail.app’s sidebar with subfolders like "All Mail" (which has in turn several subfolders) and folders for each label you created with GoogleMail. Now you have to configure the account properly. Despite what [Google recommends|http://mail.google.com/support/bin/answer.py?answer=78892&topic=1281 4], I found the following settings to work best for me.

In the sidebar, navigate to the subfolders Trash/Sent/Drafts/Junk of "Google Mail" (the one with the white folder icon instead of a blue one) in turn and go to "Mailbox" menu > "Use this mailbox for..." > Trash/Sent/Drafts/Junk respectively. Afterwards these folders show up as subfolders to the main Trash/Sent/Drafts/Junk folders in the sidebar (and at the same time disappear from the GMail section). Among others this step is necessary because of Google Mail’s implementation of labels. E.g., as Google states [here|http://mail.google.com/support/bin/answer.py?answer=78892&topic=12814]:
Messages that are deleted from an IMAP folder (...) only have that label removed and still exist in All Mail

So if you want to delete a message you have to set the option to "Use this mailbox for… Trash" as described above. Same applies to sent messages etc.
Furthermore, make sure every checkbox in Mail's Preferences > Accounts > GoogleMail > Behavior is checked . (Some will already and automatically be checked when you apply the option "Use this mailbox for..." as described above).

Good computing.

floba

(MN456)

Sep 9, 2008 10:48 PM in response to Danielle Marie

Danielle, if you set the options to "Use this mailbox for..." as described in my previous post, there should be only the subfolders "All Mail" and "Starred" in the white Google Mail folder. Sometimes the counter for unread messages next to this white folder doesn't update properly; in that case go to "Mailbox" menu and select the option to sync all accounts. I don't know whether you can disable the unread counter completely.

floba

(MN457)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Importing Gmail into Mail

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.