9 Replies Latest reply: Jun 21, 2013 2:50 PM by Tom Lockwood
Tom Lockwood Level 1 Level 1 (90 points)

I set up my new iMac from a time machine backup and when I opened Mail it wanted to import messages from a Gmail account that I had deleted from the original iMac.

 

All of the mail accounts had been deleted on original iMac by going into mail/preferences/accounts and deleting them. All appear to be gone and yet one Gmail account with it's outgoing server comes back when I do a restore from the TM backup.

 

I want to fully 100% delete all email accounts and associated outgoing servers ect. without having to wipe the whole computer clean.

 

Thanks for your help


OS X Mountain Lion (10.8.4)
  • 1. Re: How to Completely remove Gmail account
    Paul_31 Level 6 Level 6 (12,780 points)

    Is there a Gmail account listed in System Preferences>Mail, Contacts & Calendars that needs deleting?

  • 2. Re: How to Completely remove Gmail account
    Tom Lockwood Level 1 Level 1 (90 points)

    No, it is empty.

     

    I have also gone into Library/Mail and deleted a folder called V2.

    Did another backup of original computer and restore to the new iMac.

    I've done this a couple times, sometimes when I start Mail it doesn't ask to import messages and so I think I finally have fixed it. I'll then set up a new gmail account on the restored iMac but then I see there are two outgoing servers, one associated with the old account. If it was totally wiped clean I would only have one outgoing server.

  • 3. Re: How to Completely remove Gmail account
    Paul_31 Level 6 Level 6 (12,780 points)

    If you've done this, ignore me. Not sure if this is a a help or not, but when setting up the new gmail account are you letting Mail do it automatically?

    If so, have you tried setting up the account manually, which gives more control over the setup process, although you'll need to input the server address info yourself? At the first setup screen, where you input your email address/password, hold down the Alt (Option) key as your press 'continue' which takes you into the manual configuration process.

  • 4. Re: How to Completely remove Gmail account
    Eric Root Level 6 Level 6 (16,210 points)

    Mail/Preferences/Accounts - in the outgoing server box in the email account if you have two arrows at the right end, click on the server shown and select edit list. Delete the old one.

     

    Screen Shot 2013-06-20 at 1.34.30 PM.png

  • 5. Re: How to Completely remove Gmail account
    Paul_31 Level 6 Level 6 (12,780 points)

    You might also want to delete any gmail entries from your Keychain before setting up the new account (Utilities>Keychain Access).

  • 6. Re: How to Completely remove Gmail account
    Tom Lockwood Level 1 Level 1 (90 points)

    Hmmm...The keychain might be the answer.

     

    I'll give that a try.  Will take me awhile to verify that is the answer, but sounds promising.

     

    Still open to other suggestions.

     

    Thanks

     

    Update: definitely some gmail things in there that shouldn't be there.

  • 7. Re: How to Completely remove Gmail account
    Tom Lockwood Level 1 Level 1 (90 points)

    It didn't work!!!

     

    Deleted EVERYTHING in the keychain, deleted all the email accounts again (there was only one)

     

    Did a TM backup, did a restore onto new machine, started mail and it wanted to import messages and the rements of the gmail account are still there.

  • 8. Re: How to Completely remove Gmail account
    Eric Root Level 6 Level 6 (16,210 points)

    Copy the line below.

     

    ~/Library/Containers/com.apple.mail

     

    While holding down the option key, select Go/Go To Folder from the Finder menu bar. Paste the line into the window. You won’t see it.

     

    See if you can find any remenants there.

     

    If that doesn't solve the problem, quit Mail.

     

    Take notes of all account information or take screen shots. You may need to set the accounts up again. Quit Mail.

     

    Copy the line below.

     

    ~/Library/Containers/com.apple.mail

     

    While holding down the option key, select Go/Go To Folder from the Finder menu bar. Paste the line into the window. You won’t see it.

     

    Move the folder com.apple.mail to your desktop. You must move the entire folder, not just the contents.

     

    Relaunch Mail and test. If the problem is solved, recreate any required Mail settings and import any emails you want to save from the folder on the desktop.

     

    Delete the folder on the desktop. If the problem remains, return the folder to where you got it replacing the one that is there. 

     

    Information learned from Linc Davis.

     

    If you prefer to make your user library permanently visible, use the Terminal command found below.

     

    http://osxdaily.com/2011/07/04/show-library-directory-in-mac-os-x-lion/


    You might want to bookmark the command. I had to use it again after I installed 10.8.2. I have also been informed that if you drag the user library to Finder it will remain visible.




  • 9. Re: How to Completely remove Gmail account
    Tom Lockwood Level 1 Level 1 (90 points)

    I'm hoping your suggestion has finally completely removed the Gmail account.

     

    There were a couple folders in the place you directed me to and I deleted them.

     

    Prior to deleting them when opening mail for the first time Mail wanted to import messages. After deleted the folders I found via your method, Mail on opening wants me to set up a new account as it should.

     

    I thought I had fixed the issue a couple times before but it kept coming back so I am keeping my fingers crossed that it is now fixed permanently.

     

     

    THANK YOU everybody!!