Mar 01


Despite their differences, Apple and Google do work well together when it comes to email.  Gmail is free and it has great spam protection. But the Gmail web interface is a bit clunky. Apple mail is very nice to use and you can set it to use a Gmail account. Here’s how to use Gmail from Apple’s mail app and also how to set up Gmail on your iPhone or iPad.

1. Sign up for Gmail.

(If you already have a Google Gmail account you can skip this step – but you will need to know your and it’s password)

– Go to and click on “Sign Up”

– Fill in the details – you’ll need to pick a gmail email address ( and a password. (Write them down!)

– When you have finished you should get a verification page that says this at the bottom:

Gmail signup complete

Now it’s time to set up the Apple mail application on your computer.


2. Enter your Gmail details into Apple mail on your iMac, Mac Mini or Macbook.


– Open Apple mail, and go to the “Mail’ menubar at the top of the screen and  then select  ‘Preferences’  from the menu.

Select preferences from the mail menu




– Select the ‘Accounts’ tab. From here  you can manage your mail accounts.

Accounts tab



– Press the ‘+’ button – this means add a new account.

Add a new account


–  You will be prompted for some details:

Enter your Gmail settings into Apple mail

  • Where it says ‘full name’  enter your name,  this is not important but it will appear in the ‘ from’  field and can be anything.
  • Where it says ’email address’   put in your Gmail email address from step 1 above including the at the end.
  • Where it says ‘password’ enter your Gmail password from step 1 above.


It will then verify that the email address and password are correct and then display a confirmation screen. It should say that the Account type is “Gmail IMAP” as follows:

Gmail confirmation screen

– Press ‘Create’

– You will be taken back to the Apple Mail preferences screen. There are some settings you should change here.

1. Click on the mailbox behaviours tab

Mailbox behaviours tab


You pretty much need to set them to the opposite of the Apple default. Tick the ‘Junk’ and un-tick everything else like this:

Mailbox behaviour settings



You don’t want to tick “Drafts.”  Every few minutes Apple mail makes a backup copy of your email as you are typing it. If  you select this option all these draft emails get stored in your gmail Drafts folder and you end up with lots of clutter!

You don’t want to tick “Sent”  because Gmail automatically keeps a copy of your sent messages and puts them in its ‘send mail folder’ so Apple mail does not need to.  You only need this option checked if your email provider doesn’t keep a copy of your sent emails automatically.

The “Trash” option is  for email providers who don’t keep a copy of all your deleted emails. If checked it will save all your deleted items to a trash folder incase you want to undo the delete. Gmail automatically keeps a copy of every email that you delete so you don’t need to do this.

You  want the “junk”  option ticked  because Gmail automatically takes care of junk mail –  you don’t want the Apple mail program deleting it.


– That’s it.

– You can close the preferences window. (Click save if it prompts you to save the new settings).

– There should be some welcome messages from Gmail waiting for you in your Apple mail.



On the left-hand side of your mail app there should be a little folder called [Gmail]  that looks like this:

Gmail folders


The All Mail  folder contains every mail you have sent or received and even the emails you have deleted.  This is where you go if you want to find an old email that you have deleted.

The drafts folder will be empty all the time because you are not storing your draft emails on the gmail server.

Sent mail will contain all the emails you have sent.

Trash will be empty. All your deleted emails are kept in the All Mail folder –  you don’t need another copy in the trash.


– You can repeat all these instructions  to add more accounts to your Apple mail.

– If you want to set up your Gmail account on an iPhone or iPad read on.


3. Enter your Gmail details into your iPhone or iPad.


– Go to Settings, then “Mail, Contacts, Calendars”

– Select the ‘Add Account’ option.




– Select ‘Gmail’



– Enter your Gmail settings from Step 1 above. The ‘description’ can be any description to help you remember what the account is,  eg ‘My personal gmail account’



That’s it!

You can now access and edit your emails from your Computer and your iOS device.


Macintoshhowto is hosted by




142 Responses to “How to set up Apple mail to work with a Gmail account.”

  1. Rahul says:

    Hi there,

    when i am deleting my emails from my gmail server,it is deleting emails from my Apple mail box which is already downloaded on my mac Book pro?

    pls advise solution.

  2. Raymond says:

    That’s because the author is wrong about unchecking everything. That means they will live on you Mac, which might as well make it a POP account.

  3. Wayne says:

    Yes Raymond you are correct – I like them to live on my mac… so that I can search old emails in Apple mail and access them if the internet is down. But it is not exactly like pop – this is better for syncing across multiple devices so that if I read or move to a folder or delete an email on one computer or iPhone it is read or moved or deleted across them all.

  4. Boon says:

    Thanks Wayne,

    This is very helpful.
    I had repeat messages on my gmail account so I am resetting up my account. Problem now is that my account does not show up on Mac Mail’s Sent Mailbox. How do I solve this please?

    Much appreciated!

  5. Tammy says:

    Your info has been helpful as I learn the new functionalities of Mail in Mtn Lion (transitioning from Snow Leopard). I too like emails to “live on my Mac.”

    One thing I haven’t been able to determine…historically, once my email has been downloaded into Mail, I’ve deleted non-essential emails directly in a Gmail browser window…now I see that doing so also deletes them in Mail (or moves them to “All Mail” which to me is useless).

    Is there any way to prevent Mail from auto-deleting? If I move an email in Mail to another folder before deleting in a Gmail browser window, will Mail still delete?

    Many thanks.

  6. Jason says:

    I just set up a 2-step verification for my gmail account and my Apple mail no longer gets connected to gmail.
    How do I input the new verification code to connect again ?

  7. Ohms says:

    I’ve used a mac for years but this new mail is confusing me, I just upgraded to a new mac and the mail is a little different.

    Currently I have one folder titled Inbox where I assumed I’d have ALL my emails. Currently I only have one email account setup with gmail. However below that I have another email box that says “gmail” this has more than the inbox. I’m going through the inbox deleting messages and they still appear in the “gmail” folder. Does anyone know how to get rid of this?

    • Dee says:

      Ohms – YES

      This is a particularly obnoxious thing that happens on the Gmail end and drove me crazy as well. Here’s how to get rid of it! Log into your Gmail account online and go up to the gear icon and pull down to your settings. Choose the Labels tab in Gmail settings and you will see all these boxes to show or hide in IMAP. Uncheck “Show in IMAP” under the choice “All Mail” – and any other you don’t want to see. But the “All Mail” one is the one causing the duplication in your MacMail.

      Good luck!

      Now if someone could PLEASE tell me how to get the Gmail account to QUIT repositioning itself at the top of my MacMail inbox list I’d be most grateful. I have numerous email accounts and Gmail is the least I care about and no matter what I do to move it in the list of accounts, it puts itself back at the top. Beyond annoying!

  8. Sophie says:

    How can I set my Mac Mail to mark the emails that I read in gmail on my browser as read? Delete if I delete on gmail etc etc Its currently set up as a POP account.

    • Wayne says:

      Change to IMAP and this will happen. That’s why IMAP is better than POP.

      • marc says:

        You sound savvy, Wayne, so could you tell me how to simply update my Gmail address book with my current Mac Mail address book?

      • Klaus says:

        Wayne, I enabled IMAP in my gmail account. Do I need to disable POP in gmail?

        And what do I need to change in my Mac mail preferences to change Gmail from POP to IMAP? It still shows gmail as POP account.

      • Wayne says:

        1. No you don’t need to disable pop.
        2. You can’t change AN Apple mail ACCOUNT frOm POP to IMAP – you need to make a new IMAP account in mail preferences then disable or delete the POP account.

  9. Androcles says:

    I just had a case where it wouldn’t find, but restarting the machine sorted out. DNS was on the wonk.

  10. Daniel Paulus says:

    Brilliant. I followed your advice. and its all working now! Thank you !

  11. Rob says:

    I have read extensively on setting up Mac Mail and IOS Mail with Gmail and you have one of the best articles. I would like some advice.

    1: Many articles suggest using Exchange to connect IOS to gmail so you get contacts and calendars to synch. opinion?

    2: Can you address how to synch sent mail and deleted mail so all sent mail is accessible from IOS (ipad usage scenario) or Apple Mail. it is very frustrating to try and find a deleted item on these platforms, it appears to be device dependent. Unless you go log into gmail via a browser.


    • Wayne says:

      1. I’ve not used Exchange.
      2. I log into gmail to get deleted and messages I’ve sent from other computers. A pain I know. But seems to be better than the other options (e.g. having ‘all mail’ folder accessible) that result in duplicate messages hanging round.

  12. Mary says:

    My company recently switched from an Exchange email system to GMail, keeping our original email addresses in tact, not using However, when I try to set up my google mail account in Apple Mail, it only finds the exchange account and not the gmail account. If I select add Gmail from the System Preferences menu, it starts the sync but spins and spins and never finishes.
    Any idea’s of what I need to do?

  13. Tomas says:

    Hi there. I am facing problem, that even when I delete email on my mac, in few minutes it comes back to inbox, as it is not deleted from the gmail in browser. I do not understand. any help please?

  14. Kim says:

    I am working on my mac but not in my gmail and my updates about my receiving an email (gmail) are annoying and threatening my privacy as i’m working with someone. How do i turn off this feature?

  15. radman says:

    My inbox won’t automatically refresh even though I check mail automatically every 5 minutes. Even when I click the little envelope, it doesn’t show new emails even though it retrieves them.

    I have to click on another mailbox and then back on inbox to see new emails. Why is this?

  16. Rene says:


    I have troubles with receiving gmail mails on my macbook, while I receive all emails on my iphone.

    In general I receive gmail mails on my macbook and my iphone, but for some reason, some but relevant mails only arrive on my phone.

    My gmail account runs on my mac as a IMAP, which I couldn’t select actually, rather were selected automatically.

    Could you please help me with this problem?

  17. Thomas Murphy says:

    Perhaps this doesn’t answer anyone’s question, but I need some suggestions as to getting a Mail account on my MacBook. I have gmail on it, just like I on my old desktop (I sold it), and now figuring out how the hell to start a Mail Account on this MacBook is complicated as hell. I’m asked to create a gmail account: I ALREADY HAVE ONE! I’m afraid that creating another one will mess up the one I’ve already got. There are some mags that I read on line that won’t let me forward articles except with Mail, and I don’t know how to create (or destroy) Mail. Any ideas? THANK YOU.

    • Wayne says:

      Go straight to step 2 in my instructions here – skip step one.
      Step 1 is CREATING a gmail account with google.
      Step 2 is ENTERING that gmail account into apple mail.

      • Shaun says:

        Hi, I have an imac, I’ve only just updated the OS to mountain lion, it then stopped sending any outgoing emails. I deleted the account and tried to do step 2 as you explained, but it keeps saying that either the user name or password is incorrect???? I know that they are not as these still work on my phone and ipad? Please, any help would be great…..

      • Wayne says:

        You could try this:
        Remove the email account from you Mac System Preferences, restart the mac, and create a new Google Account in Mac Preferences.

  18. sid says:


    I am setting up my hotmail a/c on macbook air, but it seems to be downloading ALL my old mails first dating back to 2007.. can i get it to download only the most recent ones

  19. Cyndi says:

    Thank you. This also seems to have stopped the error messages that I would get about entering a password!

  20. June says:

    I cannot make Apple Mail download gmail messages which I’ve read online at Google Mail. I use imap. Can anyone help?

  21. I have thousands of emails in my gmail. How do I delete them in Mail (downloaded as IMAP), while saving them in gmail online?

    I guess I’m not totally getting IMAP. Does it actually download to my laptop, taking up space? or does it just reference them, so it accesses them online?

    First question is really the only one I want answered.

    • Wayne says:

      IMAP doesn’t download every email, it just downloads the number of unread emails and titles etc. Then it downloads the emails as you read it. So it just references them. No local copy stored.
      if you go to mail preferences and tick ‘Keep copies of messages for offline viewing’ then it will download and keep a copy like the old POP mail did.

      The answer to your question is just delete them. They will delete from Apple mail and from your gmail inbox but gmail ALWAYS keeps a copy of the emails. Gmail never totally deletes them. So in gmail you can go into ‘All Mail’ and access your old deleted emails.

  22. IMAP says:

    I have thousands of emails in my gmail. How do I delete them in Mail (downloaded as IMAP), while saving them in gmail online?

    I guess I’m not totally getting IMAP. Does it actually download to my laptop, taking up space? or does it just reference them, so it accesses them online?

    • Wayne says:

      Delete them, they will be removed from Mac, they will stay in the gmail ‘All Mail’ folder. This is a gmail thing not an imap thing.

      IMAP still downloads them, like POP, but it doesn’t delete them when they download. POP usually deletes them from server a set number of days after downloading. With IMAP when they are read, they are marked on the server as read. So IMAP means you can access from multiple computers more easily.

  23. Andreat says:

    Finally, the above instructions helped me to add my gmail account on my mini ipad. THANK U

  24. Chris Ryan says:

    How can I set my Mac Mail to mark the emails that I read in gmail on my browser as read? It’s set up as a POP account

  25. Bill says:


    When I delete a message either in my junk or trash within the Mail app, it returns within 5 minutes. How do I delete the emails permanently without having them return?

    Any help will be great!


  26. Peet says:

    I’ getting this message all the time after checking the correct details over and over: Logging in to the Google IMAP server “” failed. Make sure the user name and password you entered are correct, then click Continue. If the information isn’t correct, you cannot receive messages.

  27. dan says:

    The main problem is we still cannot sync draft messages between devices. i.e. Applemail / Android Nexus / Gmail.

    Its a killer for anyone who ends up using mail drafts for on the fly to do notes…

    If anyone has discovered a solid workaround I’d love to hear it.

  28. steve goldstrom says:

    Thank you so much for help in setting up gmail. I’ve used a Mac since 1984, and this setup process was driving me crazy.

  29. I’m new to macs and have just got a MacBook. I can set up gmail on the mail app (in fact the apple store did this for me) and it works. However I have been unable to access by Gmail groups of which I have several or set up new groups. All my contacts have downloaded but not my groups. Any ideas? Otherwise I can access the account through Safari. Thanks.


  30. NMed says:

    I’m having the following issue w/Mac Mail, POP and Gmail, which I never had before and is not normal behavior for POP. If anyone can advise, please do.

    I have MMail set up w/POP and to delete all downloaded/in-coming emails, which I archive and save on my Mac. I do this because I’ve been hacked by a stalker and I don’t know how else to protect my communication (also use w/my .com email).

    This never happened before but when I send an email via MMail it instantly shows up in the “Sent” online folder of the Gmail acct.

    Now when I’m hacked he can see all my outgoing emails messages unless I go into the email acct and delete them manually!

    Can anyone help me w/this issue. I spent 4+ hours w/Apple and they say it’s Google. I have no idea how to stop this transfer of sent messages.

  31. John says:

    I am no longer able to send emails on my macbook pro.I am able to receive them and also send direct from my gmail A/c but not from laptop.

  32. Kimberly says:

    Do these recommendations still hold for Mavericks 10.9.3?

    Thanks in advance.

    • Kimberly says:

      Sorry, I think I wasn’t clear. The question is whether the original recommendations about the mail folder settings still apply after all the back and forth with Mavericks. Thanks.

  33. Andrit says:


    I am using Mac Os X 10.9.2. I have an issue with folders in Mail (folders from Z to A), I need to have it from A to Z, like it was when I use previous MacBook with 10.7. Please advise the solution. On gmail account in web the folders sort in right way, from A to Z.

    I have already deleted account from Mail and re-load the account but the folders are from Z to A.

  34. Landry says:

    how do i add an iphone to my mac in order to receive and send iMessages?

  35. Umesh says:


    I recently joined a company and they use gmail as their mail server…..when i try to configure my mail account on the Macbook air, it validates credentials for calendar but not my mails and notes? hence, i have a fully synced calendar but no mails….any solutions

  36. David says:

    Thanks for great advice. Have just upgraded to Maverick. Always used NOTES in gmail on MacBook Pro but it doesn’t show in the newly imposed Mail. Do you know how to resurrect Notes?

  37. Chrystal says:

    I see that your recommendation is to not keep All Mail on your computer and to uncheck IMAP. Do you feel the need to have a backup of your emails at all.

    Until recently, I’ve kept All Mail checked so I could have access to my emails at any time. However, that is causing my email to run really slowly so I’m rethinking my strategy.

    • Wayne says:

      I’m still working this out too. If I need an old email I go into gmail via safari.

      • Chrystal says:

        Thanks for your response. If and when you figure out the issue with accessing old emails and having a backup plan for what’s not on the computer… I’d love to hear about it. Thanks for sharing your knowledge!

  38. Chrystal says:

    One more thought…

    You said…. on 1/1/14
    “IMAP doesn’t download every email, it just downloads the number of unread emails and titles etc. Then it downloads the emails as you read it. So it just references them. No local copy stored. BUT if you go to mail preferences and tick ‘Keep copies of messages for offline viewing’ then it will download…”

    Where is the “keep copies of messages for offline viewing” located. I can’t find it.

    Looks like my computer is downloading them all.

  39. Piers says:

    Wayne, I have a very large gmail account. I have archived most of the mail. Mail seems to be reading those and, I guess, storing them in an archive folder. But the number are large. Is they a way I can stop it or shall I just let it go ahead an crunch through it. I would prefer not to have all those emails on my drive.

    • Wayne says:

      You just go into the settings on gmail itself (via safari), go to IMAP and POP settings, labels, and uncheck the box against the ‘All Mail’ label. This tells gmail not to send the All Mail to and IMAP clients such as apple mail.

  40. Patrick says:

    Hi- I’m trying to set my iphone mail to send from 2 different email addresses. One is a gmail acct and one is my business account(for example On the computer I access them both strictly using Gmail. Since my Iphone has only been connected to my Gmail Acct, I haven’t had any problems EXCEPT not being able to send messages from my business account when i’m using my iphone. Today I tried setting up a separate account on my iphone mail settings, and though i was able to send mail from my business acct, I ended up getting repeated mail because it’s being sent to gmail(then to my iphone) and also being sent directly to my iphone from my domain’s mail server. DO you suggest a solution to this dilemma? I want to have all my email in one gmail account and and to be the same on my phone(but i want to be able to send business emails from my phone!)

    Thanks so much,

  41. Olivia says:

    Oh my gosh this helped so much!! thank you! Really <3

  42. Donna T says:

    Oddly enough, this issue is on my iPad only.The settings on my desktop and my iPhone are all identical. I use Mac Mail primarily but have a back-up Gmail acct. Both mail accounts are IMAP accounts and are on all three devices: desktop, iPhone, and iPad.

    I had an old Gmail acct. that was deleted and a new Gmail acct. created. When I try to send from my Mac Mail account (different ISP for mail) on my iPad only , I get an error message that it ‘Cannot Send Mail.The user name or password for ‘the old acct. name’ is incorrect. OK and Settings are my two options.
    1) It’s not the Gmail account I’m sending from, it’s the other IMAP account
    2) It’s looking for an account that no longer exists and was deleted a long time ago.

    All the very same settings on my iMac and iPhone, work fine in sending and I don’t get this error message on either of them.

    Can you advise?

  43. Omar says:

    I am trying to connect to my gmail using Mail the message I have is ” Logging in to the Google IMAP server “” failed. Make sure the user name and password you entered are correct, then click Continue”.

    I do not have 2 step verification on Google….

    please help

    • jill says:

      I am having the same issue as omar. i used macmail with my gmail account for years. i started having issues not able to receive mail so i deleted my gmail account and have been trying to add it back for a few weeks now. i am getting the same error message that Omar is.
      can someone please advise what is going on?

  44. That looks so Cool. I’m impressed.

  45. The time displayed on my Mail messages is one hour earlier than actual Ulaanbaatar, Mongolia time. I have checked the time setting on my MacBook Air and it is correct. How can I get the time displayed on my Mail messages to reflect the correct time. Thank you

  46. Kate says:

    Thanks a lot for this help!
    I had an issue with Mail programme, There was plenty of advice how to set a smtp-something and pop-something and a lot of different ‘something’, but nothing worked. Surprisingly, this easy step-to-step explanation how to make Gmail work DID work for me. Now I have two mail boxes on my mac os, – no problem!
    Thanks again!

  47. Gerard says:

    Hi I am happy to have found your site. Thank you.

    I am on Mac Book 10.5.8
    My problem with Gmail is that I came to India some months ago and I had a message from google saying that someone is trying to use my account to send an email, so they disconnect my gmail on Mac Mail and I can access my mail only through gmail’s website. Now it has been 7 months that I can’t use my email Mac Mail; which I prefer first here that I can read and work on my emails offline very handy with the often poor internet connexion here.
    Thank’s for help how to bypass this security of gmail and get back to Macmail.

  48. Ron johnson says:

    Not a single entry on this page shows how to fix the problem. They all just id the problem.

  49. Dave says:

    I’ve been using gmail successfully for years with my apple Mail (OSX 10.8.5). However yesterday I added a new gmail account to Mail and now I’m having problems.

    I set the second account up exactly like the first but obviously with its own login.

    The problem I get is that now no emails are received by either gmail account(in Mail, I can see the email in the google browser app) unless I close down Mail and reopen it. This is not ideal as I like to check for emails every several minutes and generally leave my Mail app open continuously.

    I can send email from both gmail accounts and I receive them instantly. I have several other accounts added to my Mail app, so I can test this quite easily.

    Upon further inspection I noticed that the email is actually being received into Mail. I see them under the [gmail] folders > All mail. But I’m just not getting them in my Mail ‘inbox’.

    Any idea how to fix this, I cant seem to find an answer on the internet.

    • Wayne says:

      We use Apple Mail with 4 or 5 gmail accounts no problems. I’d give the free apple tech support a ring, or if you are out of your 90 day free support, or don’t have Applecare, try posting to the Apple help forum. It sounds like a setting gone wrong somewhere.

  50. Dave says:

    This helps but is not ideal:

    Because I’m physically having to close and open connections to the gmail server. Rather than letting mail collect mail for me every few minutes.

    Also it is extremely slow, I have a few email accounts (not just the gmail ones) that I need to keep track of, closing and opening connections for all email accounts just to update the inbox of the gmail ones is well… stupid.

  51. Daniele says:

    And many thanks for the great tutorial. I have a few questions if do not mind. As to this please note that I am using Mail 8 under Yosemite.

    1. Is there the possibility to have one folder with just the received or archived emails?
    2. I have tried to choose the folders to subscribe to but the system shows me just an empty list. To be honest the same is happening with the Yahoo account. What shall I do?
    3. is there a way to fully delete a message instead of leaving it among all mail?

    Thanks a lot for your time and attention, Daniele

  52. thank you! i just went through this, got stuck at some point but that was totally me trying to breeze through..
    the images are very helpfull

  53. Donna Wilson says:

    Hi. There are no problems with the mail account set-up, but I do have one problem I have not been able to figure out how to fix. When I forward an mail to people with PCs, it now shows up as an attachment. Not an issue when forwarding to Macs.

    The setting is not set up to send as an attachment, but I can’t figure out how to “fix” this bug. Your expertise is much appreciated; I’m a Peace Corps Volunteer serving in Namibia and there is ZERO Apple expertise here!

  54. Margaret Warren says:

    When I click on the “mail” icon, MAIL shows up at the top left of the window, but no window appears. It worked fine yesterday, but nothing happens today and it is very frustrating.

  55. Joseph says:

    I tried doing this, but I can’t get past the part where you enter your name, Gmail address, and password. I enter the info, click on “Set Up”, and it resets and the address/password fields are blank again. It’s an endless loop of fail. I’m using two-step verification, so I enter the password generated for the app, which should work just fine. I’m running 10.10.1, so I’m as current as can be. Does anyone have any ideas?

    • Nixie says:

      Were you able to figure this out? Mine keeps doing the same thing.

    • Kiah says:

      Hi, i was having the same problem and it was so frustrating but i figured it out! when you go to add an account, instead of choosing “gmail” click “add CalDAV account” instead and type the info. It worked for me! hope this helps.

  56. Elaine says:

    When I type in my name, email (gmail email),and password I keep getting the message “Logging in to the Google IMAP server “” failed. Make sure the user name and password you entered are correct, then click Continue. If the information isn’t correct, you cannot receive messages.” The use name and password are correct. HELP!!!

  57. Jim says:

    Getting ready to set up gmail on a new Mac Mini. One great gmail feature I am afraid will not work is the gmail tabs, which pulls “promotions” and social site messages into separate tabs, allowing more efficient review of our “primary” messages. Anyone know of a way to keep this on a Mac? (The Gmail app for iPad does include this feature but not sure ther is a similar app for regular Mac)

  58. Mary says:

    I accidently clicked on “rebuild” in mail and wiped all my my mail clean. I’m desperate to retrieve important messages. Can someone help this nong?

    • Wayne says:

      If you use gmail they will all still be on the gmail server if you use these suggested settings. So just wait and let them sync again. Otherwise give apple a ring and see if they can help you get them back from a time-machine backup.

  59. Beth says:

    Thanks so much for the helpful info. Just wondering if you may be able to help – I want to keep a copy of all my old mail on Apple Mail, then clear out all the clutter from my Gmail. Only problem is that they are synced so when I delete from Gmail it deletes from Apple too. Is there a way around this? So I can store all my old emails on Apple, and totally declutter my Gmail?

    • Wayne says:

      Copy the emails from gmail to the ‘On My Mac’ folder in the left folders pane in mail, this will make a local copy, then they will stay on your mac even if you delete from gmail.

  60. Brian says:

    What a clear and helpful instruction to put a gmail account site so that it is on my normal Mac Mail window. It all went so easily, as explained, but although I can send messages from it , it does not show any incoming mail. All incoming mail is visible only on the Google site. I really would like to see incoming mail on the Mac Mail window together with the other account boxes set up on the Mac using Virgin Media blueyonder. Have I failed to use an appropriate setting in the Behaviour window in the Preferences ? Or?

  61. John Rogers says:

    I have trphree g mails accounts and have set up new accounts they are all merged into one mailbox. Can I get too look like it does on my iPad with three mail addresses separate? Thanks.

  62. Sharon says:

    Hi, I just added gmail to my mac mail app. I now see all of my other non gmail accounts in gmail. How is gmail able to pull my other mail over? Is there a setting I can turn off or is this default? I definitely don’t want gmail to have any of my other mail. Now that they have been sucked in- can I delete them from gmail without affecting my email on my mac (any of my accounts)?

  63. Sharon says:


    I could see my gmail emails in Apple Mail as well, but to clarify, I mean logging in to gmail on a web browser and seeing all of my iCloud, Yahoo and other imap emails (accounts that I never added to gmail) inside of gmail. All of my non-gmail emails have landed inside of gmail in a folder called All Mail.

    I have disabled the new gmail account in Mac Mail to halt the pulling, but it does seem like there is some syncing still happening.

    I’d like to add gmail to my mac- but not if gmail is grabbing everything else.

  64. Sharon says:

    I entered all info but says cannot deliver because of outgoing setting of Tells me to select another server but their are none to select

  65. Kenneth says:

    I keep getting this error message after repeatedly dumping and then re-entering my Gmail info into an iBook:

    “The server for account “Gmail” returned the error “[WEBALERT Web login required..” Your username/password or security settings may be incorrect. Would you like to try re-entering your password?”

    Any ideas would be appreciated.

  66. Megan says:

    Thanks for all this help…

    I have a problem with gmail and IMAP (via apple mail). I just moved to IMAP and now apple mail is storing all of my email drafts (i.e., the automatically-saved drafts, taken every 2 seconds). It was saving them under ‘Drafts’, so I did the following:

    (1) Under gmail Settings > Labels > Drafts, unchecked the ‘Show in IMAP’ box
    (2) In Apple Mail > Preferences > Accounts > Mailbox Behaviours, unchecked the ‘Store Draft Messages on the Server’ box.

    Now, these automatic drafts are no longer being saved in ‘Drafts’ – but ARE still there in ‘All Mail’.

    If I go back into my Gmail settings and uncheck the ‘All Mail’ box, will that solve the problem? And if so, what will the consequences be? I don’t want there to be any risk of my losing any of my other emails – does anything get saved in ‘All Mail’ that doesn’t get saved in any other folder?

    Or is there another solution? After spending literally hours on this problem, it seems like at least 100,000 people on one Apple thread have had the same issue. Desperate to get this solved! Thanks!!!

  67. Sue says:

    I set it up as you said – my only problem is that since switching over to Yosemite, gmail is coming to my computer (Mac Mail), but it is NOT staying in the gmail web account server like it used to.
    It is important that other people have access to those emails.
    I’ve checked the preferences and there is no setting to “leave on server” as there is w/my Optimum account.

    What setting am I not seeing to get the gmails to stay on Gmail?

  68. Liz says:

    Elaine says:
    December 26, 2014 at 5:53 pm
    When I type in my name, email (gmail email),and password I keep getting the message “Logging in to the Google IMAP server “” failed. Make sure the user name and password you entered are correct, then click Continue. If the information isn’t correct, you cannot receive messages.” The use name and password are correct. HELP!!!

  69. Rula says:

    When I Open Apple mail, and go to the “Mail’ menubar at the top of the screen and then I cannot select ‘Preferences’ from the menu, as it is off. Please for your kind help, HELP. Thank you!

  70. Chris says:

    On Mac Mail my Gmail account has been working well for years but suddenly the little number in a circle telling me that there are unread emails has stopped working. The unread emails are there when I click on inbox, so otherwise it’s working fine. I have other email addresses – Yahoo, BT and Hotmail and another Gmail address which all still work perfectly in this regard. Any ideas what I can do to restore normal service?

  71. tom patterson says:

    i did all the steps but mail is not coming threw to my mac so now whay

  72. Gaurav says:

    I have just bought this new macbook pro and 1 of my gmail accounts is synced and the other gmail is not getting synced. the error message is “network connection error” whereas internet connection is working.

  73. Kinza says:

    While using Google mail account on Apple Mail i am facing problems the mails i delete start showing back, but if i go to gmail web interface and then delete they never re appear.

    I have one apple mail account and one gmail account configured, apple mail account works smooth but gmail account gets stuck with an error of too many simultaneous connections while using on mac, but this error never appears on iphone and stuff. Can someone help with this slow and stucking google issue on apple mail

  74. Alex says:

    Elaine says:
    December 26, 2014 at 5:53 pm
    When I type in my name, email (gmail email),and password I keep getting the message “Logging in to the Google IMAP server “” failed. Make sure the user name and password you entered are correct, then click Continue. If the information isn’t correct, you cannot receive messages.” The use name and password are correct. HELP!!!

  75. Miriam Linder says:

    Just followed above instructions as best I could to set up gmail on Apple mail. One problem: rather than show my account name on the sidebar it reads “Google.” Can I fix this?

  76. Derwin A. says:

    I am trying to correct my send alias. We are using google mail for security purposes but want emails to get sent from an alias. They are routed from the alias and are coming into the gmail account which is also an alias. How do I change things so that when I reply people see my email address and not the gmail account?

    I hope this all makes sense.

  77. Romo7 says:

    this method didn’t work either,for setting up a gmail account on my mac…..matter of fact i have 3 different gmails account and none would set up on my macbook pro…yahoo worked fine outlook worked fine too…and thats a microsoft accout there bitter rivals one might say,LOL>>>>>but no luck with gmail….but my gmail works for my apple account..u would think it would work for Mail too right???,,

  78. Jo says:

    Great instruction. Wirked on my macbook but not my Mac PC. After entering my account details I receive this message, Strange because I have another gmail address set up in mac Mail no problem. Any ideas? “Logging in to the Google IMAP server “” failed. Make sure the user name and password you entered are correct, then click Continue. If the information isn’t correct, you cannot receive messages.”

    • Heb says:

      I got exactly the same message, no idea how to dix

      • James says:

        Same problem here

      • Wayne says:

        Anyone have an answer for this? I’ve not had this problem so it’s hard to find a solution! Try deleting all accounts from mail (you will lose saved messages) then enabling them again. Try deleting the account from System Preferences ‘Internet Accounts’.
        Under Mail, Preferences, Accounts, Advanced check that ports 993, and Use SSL is checked.
        Under Mail, Preferences, Accounts, ‘Account Information’, ‘outgoing SMTP server’, ‘Edit SMTP Server list’ check that Port is 465 and SSL is checked. And please let us know if that works!

  79. Michael says:

    After trying to add my 2 gmail accounts to I only received the message “you are already signed into that account”. I found a solution when I went to System Preferences>Internet Accounts and there I checked Mail under the accounts.
    Maybe this helps someone

  80. Jack says:

    I deleted and added some accounts on Gmail, however these have not updated on – can anyone advise me on how to do this?

    • Wayne says:

      You need to manually put the new accounts into the Apple mail app. You will need to put in the email address and the password. Mail app has no way of knowing what accounts you have added on Gmail unless you tell it.

  81. Cathie says:

    I have a new MAC computer and I’m trying to get my gmail account to run through mac Mail so I can receive my g -mail. I have run through the steps provided on the website and I’m unsuccessful.

  82. chris says:

    I’m so sick of this problem every time I restart my mac, same thing. It says I must re-input my password for my gmail, then eternal SPOD (not the colored wheel, however, more like flashing spokes). So I delete the account and restart. Upon pressing the + button to add a new email account, it gives you the option of selecting a google, or other, pre-select types. If you select google you get eternal SPOD. Select ‘other’ and you can do it. But I’m sick of having to over and over again and no answers anywhere.

  83. Rae says:

    It keeps coming up unable to verify account or password
    or the proxy settings are insecure!!I have tried so many times and so many ways that it becomes very frustrating!!! Can ANYONE Help me PLEASE???????

    • sue says:

      Hi Rae, I was dealing with the same issue for the last two days! (unable to verify account or password) but finally got my gmail back on my desk top. Sign in to your Google
      Account, if that works you know your account is still there
      and your password is good. Go to ‘sign in and security’,
      click on ‘connected apps and sites’, find ‘allow less secure
      apps’ and make sure this is ON! I was messing with my google account and had turned this off and my gmail
      went offline? For two days I kept deleting the gmail account
      in preferences and then trying to add it back again and got
      the same message every time. So.. I deleted gmail from
      preferences on desktop and devices, went into google account and turned ON ‘allow less secure apps’, went
      back to preferences, added gmail and it came right back!
      I hope this works for you.

      • Rae says:

        Thanks so much for the advice Sue but I finally went into the Keychain access typed in Gmail and everything I needed came up I just deleted all that was in Red and hey presto I was able to put my 3 Gmail accounts back into my mail.
        It’s great to get feed back form any of you out there and I will be posting a question shortly as I need help with another issue I have.
        Best wishes to you all

      • Chuck says:

        Thanks, Sue. Worked for me.

  84. joe says:

    I have been trying all day to set up a google email account to go with my web site name hosted at Weebly .com And have been totally discouraged by the process. Willing to pay for it too, but have no luck getting it to work.

    You could notify me of follow up comments.. but guess what.. my email does not work.. as a result of this mess..

  85. Iban says:

    I have it all set up right now. Only problem is, on my iphone when I want to sent an email I’m able to choose from either my apple mail or my gmail account.
    On my macbook this option is not given, and I can only sent mails via my Apple mail.
    How can I solve this?

  86. Rowland says:

    I had previously setup my Gmail account so that when I send email from Gmail, it uses That is the address I want all email recipients to see.

    I then read this article and adjusted my settings in Apple Mail accordingly so that it could use Gmail. (I did not create my Gmail account from scratch, as you suggested, however. I just made a couple tweaks.)

    Incoming mail to and now appear in both Gmail and in Apple Mail Inboxes. Perfect!

    Now when I send email from Apple Mail, it lists my address as And the outgoing email appears in both Gmail and Apple Mail outboxes. HOWEVER, I want the outgoing emai addressl (from Apple Mail) to be not I also want that email to appear in the Gmail outgoing box. Is that possible?

  87. Ted says:

    For me the instructions were a little old but followed the context and it worked fine.
    I am a new Apple Mac user and it is a big learning curve coming from a PC and Android.

  88. Eric says:

    That all appeared to work and was exactly what I wanted. Thanks.

Leave a Reply

Copyright © 2013 Wayne Connor. All rights reserved. | Hosted on Click here to find out why.