A friend of mine has a Mac with OS X 10.7.5 and an iPad with iOS 8.4.1. On both devices is already one Gmail account active. Now she wants to add another Gmail account - and this works without problems on the iPad but not at all on the Mac. When adding the account on the Mac the error message is always the same: "Logging in to the Google IMAP server “imap.gmail.com” 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." I tried now for two hours - incl. repairing permissions, deleting all imap and smtp entries in Keychain Access, restarting Mail, restarting the Mac. All without success. I even tried to add my own Gmail account to her Mail application - does not work. I added her Gmail account to my Mail application - no problem. Does anybody have an idea how to make this work?