You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I delete an account from mail

I set up an account for mai that I no longer want. It is not the main account but an additional on. How do I delete it.

Mac OS X (10.7.4)

Posted on Jul 9, 2012 4:58 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 9, 2012 5:07 PM

From Mail Help:


Remove accounts

Removing an account removes the account information from Mail and deletes the account’s mailboxes and messages that are saved on your computer.

WARNING: Deleting a Post Office Protocol (POP) account permanently deletes its mailboxes and messages from your computer and cannot be undone. However, if you’ve been backing up files using Time Machine, you can use it to recover previous versions of deleted mailboxes.


  1. Choose Mail > Preferences, and then click Accounts.
  2. Select the account you want to remove.
  3. Click Remove (-).

Removing an Exchange or Internet Message Access Protocol (IMAP) account doesn’t permanently delete the account’s mailboxes and messages because they are stored on the mail server. To retrieve the account’s mailboxes and messages from the server, add the account again in Mail.

18 replies
Question marked as Top-ranking reply

Jul 9, 2012 5:07 PM in response to GC RKC

From Mail Help:


Remove accounts

Removing an account removes the account information from Mail and deletes the account’s mailboxes and messages that are saved on your computer.

WARNING: Deleting a Post Office Protocol (POP) account permanently deletes its mailboxes and messages from your computer and cannot be undone. However, if you’ve been backing up files using Time Machine, you can use it to recover previous versions of deleted mailboxes.


  1. Choose Mail > Preferences, and then click Accounts.
  2. Select the account you want to remove.
  3. Click Remove (-).

Removing an Exchange or Internet Message Access Protocol (IMAP) account doesn’t permanently delete the account’s mailboxes and messages because they are stored on the mail server. To retrieve the account’s mailboxes and messages from the server, add the account again in Mail.

Dec 13, 2012 8:38 AM in response to CT

I was able to delete a no longer needed mail account, but when I go to compose a new email, the account name is still in the from drop down menu. I tried sending an email from that deleted account name, and it sends it from the primary email account. I would like to delete the name from the drop down menu. Any advice on how to do that?


Thanks!!!

Jan 13, 2013 11:40 AM in response to GC RKC

actually the removal of account using Preferences >> select given Account >> remove ➖ button does NOT really removes the account.

And this is THE problem (business sensitive emails, credentials).

Just as "pedrosd" wrote, something is still stored (maybe even credentials).. in my case whenever i compose a new mail, a popup appears about the certificate of this my "removed" email account which needed for the address book synch !!


Is there any way to REALLY remove email account details from OSX Mail app...???? (or this IS a very bad BUG, and i have to format the whole drive, burn it and throw it to a deep sea...)


Thanks in advance!! !

Nov 13, 2013 12:50 PM in response to Holzfreiweiss

Holzfreiweiss wrote:


Is there any way to REALLY remove email account details from OSX Mail app...????


Removing an account via Mail > Prefrences does not remove the folder where Mac OS X Mail stores related account data.


To remove this folder:

  1. Open a Finder window
  2. Menu: Go > Go to Folder...
  3. Type: ~/Library/Mail/V2
  4. Click the Go button
  5. Identify the account's folder:

    The folder naming convention is: PROTOCOL-ACCOUNT@SERVER

    1. Gmail example:
      1. Account: foo.bar@gmail.com
      2. Folder: IMAP-foo.bar@gmail.com@imap.gmail.com
    2. Exchange example:
      1. Account: foo.bar@baz.com
      2. Folder: EWS-baz\foo.bar@exchange.baz.com
  6. Right-click the account folder, and select Move to Trash from the pop-up menu


As always, when you're deleting folders/files, please exercise caution. If you delete something by accident, go to the Trash, and put it back.

Nov 21, 2013 7:22 PM in response to 2Toad

I did not find a folder with the account I wanted to delete, but I did find a file (with find and grep) at that path which has the offending old account info:

~/Library/Mail/V2/MailData/Accounts.plist


Quit Mail

Opened the plist file in TextEdit

Looked under "<key>EmailAliases</key>"

Deleted these lines:

<dict>

<key>alias</key>

<string>oldacct@icloud.com</string>

<key>name</key>

<string>Junk Thing</string>

</dict>

Saved the file, quit TextEdit and start Mail


Same stuff just reappeared in that file.


Searched other plist files under ~/Library/Preferences/ but found no matches for the old account info.


Also tried this but got no matches:

defaults read | grep -i oldacct


Still not sure where this is stored such that it reappears in the plist file after starting Mail.


Any guesses out there?

How do I delete an account from mail

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