Automatically detect and maintain account settings is grayed out

Discussion in 'OS X El Capitan (10.11)' started by stonerdt, Aug 26, 2015.

  1. stonerdt macrumors newbie


    Oct 25, 2013
    I am working with GMail in the latest El Capitan PB 5 and in Apple Mail my GMail will not get connected. I have two-step verification and I need to put in the app specific password but Mail will not let me . The "Automatically detect and maintain account settings" is grayed out and so I cannot change my password. I cannot get this to uncheck either? Any way to get it the "Automatically detect and maintain account settings" to show back up again so I can change my password?

    Strange error but I am sure I am not the only one. Thanks.
  2. dianeoforegon macrumors 6502a


    Apr 26, 2011
    I would remove your Gmail account in System Preferences > Internet Accounts.
    Make sure the account is removed from Apple Mail.
    Quit Mail
    Check in your User's Library/Mail/V3 folder and make sure the Gmail account has been removed. If not delete the folder. (Note: accounts have numbers now not the names as prior versions of Mail. You might need to look inside the folder to identify which is your Gmail account)
    While you are in the V3 folder, look in Mail Data folder. Delete the 3 files that have Envelope in the name.
    Next in your User's Library/Containers, move the folder to the trash.
    Open Mail. It will reindex your files.
    Add Gmail account. It will download all messages from server. If you need to do any cleanup, I would do this first in your browser. Pay attention that your Inbox doesn't have thousands of messages. You might want to archive all to the All Mail folder. Move back only the latest emails to the Inbox.

Share This Page