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.






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

  1. 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.

  2. 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.

  3. 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.

  4. 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.


  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. Landry says:

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

  10. 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

  11. 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?

  12. 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!

  13. 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.

  14. 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.

  15. 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,

  16. Olivia says:

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

  17. 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?

  18. 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?

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

  20. 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

  21. 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!

  22. 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.

  23. Ron johnson says:

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

  24. 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.

  25. 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.

Leave a Reply

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