GMail App Specific Passwords for Mac Mail

i seem to have an ongoing issue with little to no documentation on it. and with all the security issues these days i am disinclined to take app specific password setting off my GMail accounts. however, it is becoming a real work life issue in constantly regenerating codes to put into Mac Mail.


does anyone know - at a minimum - if this is a Mac Mail issue (likely) or if it is a kind of global problem that will also occur in other email clients?


i am considering accessing my GMail account only in a different email client at this point because i have been unable to solve this.


the closest i got is a 20 page thread on SMTP outgoing server issues in Mac Mail (a problem i also have and have been unable to solve) which seemed to indicate that one should A. have a dedicated App Specific password for the outgoing server in addition to the incoming one (not so obvious and i am not even sure this is correct) and B. to delete anything in your keychain related to GMail settings and enter all your password information again.


any ideas?


should i spend a hour plus and a couple of bucks with online support and if so is this likely to solve it? if it will it would be a bargain and i would love to do this.


THANKS


i am on mountain lion and mavericks

Mac Pro, Mac OS X (10.7.5), Boot Camp of Windows 7 + Windows XP

Posted on Apr 26, 2014 10:34 AM

Reply
5 replies

Apr 26, 2014 7:11 PM in response to hotwheels22

I personally got tired of struggling with numerous mail clients over the years and have now been happily using Gmail through the browser (using Google Authenticator for 2-factor) for years now. Gmail, Outlook.com and even Yahoo mail have come a long way in usability over the last few years.


My first thought is that this isn't an issue related to app specific passwords at all. To Mail and keychain, I can't imagine that there is any difference in a typical password and a Google app specific password. That difference is only on Google's end. Therefore, you will likely have issues even if you turned off two-factor on your Google account (a bad idea as you understand). To prove this to yourself you could create a throwaway google account, without 2-factor turned on, and see if you can get that account to work with Mail. I bet you will find the same troubles.


It's unfortionate, but I have read enough troubled posts over the last year to make me recommend anything but trusting Apple Mail and it's interaction with Google accounts. The issue is obviously a combination of Google's non-standard implementation of IMAP and Apple Mail's inability to cope with it. That doesn't quite make sense to me because Mail on iOS seems to work just perfectly with Gmail accounts (including with app specific passwords). Just not on the Mac OS X version of Mail.


Either way, I need my email to be reliable and predictable and therefore I now find myself just using the browser for webmail even after years of saying that I would never use webmail over a client application. I'm now far more productive that I ever was with a local email client and I can move from computer to computer with no setup or configuration required.


Good luck with your search for an alternative Gmail client.

Apr 26, 2014 8:16 PM in response to FishingAddict

thank you. i have about 15 domain based emails and a couple of Gmail accounts and the iCloud account and frankly i have been constrantly troubleshooting some kind of error. i downloaded sparrow which worked pretty fantastically and i also have the GMail app on my phone which also works fantastic.


however, i still have issues with passwords for GMail in mail in iOS7 and i also seem to have password issues in sparrow with these accounts (though much less frequently i think). in any event the 15 domain based email accounts also give me fits in mail though honestly i have a hard time figuring out where it works and where it doesn't work.


in any event - it may make sense for me to access the GMail accounts in the iOS7 App though this means my domain based email is in mail in iOS7 and i have to check both GMail accounts separately in the GMail app. that said as you suggest it may be time to cut bait as far as GMail in mac mail is concerned. in which case i guess i would access my GMail accounts when in Safari on the laptop and on the desktop or - i suppose - i could /primarily/ check GMail on my iPhone i guess.


anyway - just so i am clear - you are saying that GMail works fine in Mac Mail in iOS but there is a legitimate and unsolved problem in Mail on Mavericks or in Mountain Lion (irrespective of the app specific password being activated)?


THANKS as i really have to streamline this a lot...


then i have to tackle my contacts which are still a mess as well...

Apr 26, 2014 8:47 PM in response to hotwheels22

Yes, I currently use three Gmail accounts (regular Gmail and Google Apps both) and 5 Gmail calendars, from my iPhone (iOS 7) without any issues at all. All of them use app-specific passswords. They all work reliably and are stable.


On all laptops and desktops I use my Gmail accounts through the browser (Chrome is my browser of choice). The only annoyance is that you do need to login to each separately. But, Google has now streamlined that a bit and on logout it will list your multiple google accounts for easier login. You can use Google Authenticator on your phone to increase your browser email login security via Google 2-factor that you already have enabled.


One last suggestion is to consider consolidating your many email accounts by funneling them into fewer accounts by using their forwarding options. I also have far too many email accounts but I have the majority of them set to forward into the few accouts that I check. You can even set up Gmail to allow you to "send as" those accounts. And lastly, you can use Gmails "Filters" to apply labels to each of those forwarded account emails so they are color coded and can be instantly filtered by clicking on the label in the Gmail sidebar.


I wish you luck in your quest to tame your email.

Apr 27, 2014 2:55 PM in response to FishingAddict

THANKS tim.


please one more follow up as i am almost there.


> Yes, I currently use three Gmail accounts (regular Gmail and Google Apps both) and 5 Gmail calendars, from my iPhone (iOS 7) without any issues at all. All of them use app-specific passswords. They all work reliably and are stable.


what is the reference to Google Apps? you are saying here that you access your three GMail Email Accounts from GMail on the web (presumably on your computer) and you access these three email addresses on your iPhone using the GMail app?


> On all laptops and desktops I use my Gmail accounts through the browser (Chrome is my browser of choice). The only annoyance is that you do need to login to each separately. But, Google has now streamlined that a bit and on logout it will list your multiple google accounts for easier login. You can use Google Authenticator on your phone to increase your browser email login security via Google 2-factor that you already have enabled.


OK. i think i get it. the separate login is a bit of a pain but it is pretty close to seamless with the new web interface. hopefully they will give you a "global" login option which would be cool. alernatively i suppose you could forward the other accounts to one Gmail account and just use this.


CAN I PLEASE ask you what you how you use the Google Authenticator? i seem to use this nicely when i get a PROMPT for something from GMail but if i try to use this generated password in MAC MAIL or in SPARROW or something else it does not take. i seem to have to generate the app specific password from the website. am i confused or should i expect to be able to generate one of these Authenticator passwords for an App like Mac Mail on my iPhone or Mac Mail on my computers??


> One last suggestion is to consider consolidating your many email accounts by funneling them into fewer accounts by using their forwarding options. I also have far too many email accounts but I have the majority of them set to forward into the few accouts that I check. You can even set up Gmail to allow you to "send as" those accounts. And lastly, you can use Gmails "Filters" to apply labels to each of those forwarded account emails so they are color coded and can be instantly filtered by clicking on the label in the Gmail sidebar.


OK. i caught that Send As option at one point. this is if you log into the website, yes? also, the Filters means that you color individual EMAIL ADDRESSES in GMail website and then you can easily see which email in the UI was sent to which email address?


THANKS for any additional answers you have the head or the time to provide. it's all a big beast at the moment...


regards.

Apr 27, 2014 7:05 PM in response to hotwheels22

what is the reference to Google Apps? you are saying here that you access your three GMail Email Accounts from GMail on the web (presumably on your computer) and you access these three email addresses on your iPhone using the GMail app?

Yes, I use Chrome browser from several computers to manage several gmail accounts and I use the Apple Mail app from my iPhone for those same accounts. The only real difference in a Google Apps account is simply that it has a real domain name associated. On the iPhone is where I use the app specific passwords.


how you use the Google Authenticator? i seem to use this nicely when i get a PROMPT for something from GMail but if i try to use this generated password in MAC MAIL or in SPARROW or something else it does not take


Google Authenticator codes are used for logging in through the browser only. A given code changes ever minute and can't be used for mail clients.


Google app specific passwords are still used for any mail client like Apple Mail, Sparrow, Thunderbird, Outlook, etc. on Mac OS. App specific passwords are also still used in Mail on iOS. App specific passwords do not expire like authenticator passcodes and therefore you don't need to change email client passwords after they are set up. You should use a different app specific password per device because you can cancel a single app specific password at any time if you were to have a lost iPhone for example.


The Google single use passwords are ONLY ever used if something goes really wrong and you don't have you iPhone and therefore can't generate an authenticator code when needed to login to webmail.

OK. i caught that Send As option at one point. this is if you log into the website, yes? also, the Filters means that you color individual EMAIL ADDRESSES in GMail website and then you can easily see which email in the UI was sent to which email address?

Yes, login to a Google account through the browser and click the "Cog" > "Settings" > "Accounts" > "Send mail as". In that section you can add your other email addresses that you may want to send mail as right from this single Google account. Once set up (and confirmed) you will be able to choose a "From" address when in the compose dialog.


Yes, you can set up a Google "Label" for each email account that you are forwarding in. Then, set up a "Filter" that applies the right label to all incoming emails from that account. You may then need to go into the label display settings and make sure that all your lables are displayed on the sidebar. The easy way to learn filters and lables is to try creating a label for a specific person you get email from and then create a filter to apply the lable to all of their incoming emails.


Lables are simply categorization tags that allow you to quickly query a specific set of email in your Google account. There are no real folders of any kind in Gmail, just labels. Clicking a label in the sidebar simply executes a databse query to display only those messages. The other benefit is that you can change the colors to have a visual que for messages with one or more lables applied as well.

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.

GMail App Specific Passwords for Mac Mail

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