How to remove 'phantom' iCloud account from Apple Mail
The list of accounts is stored in the property list located at:

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


The account data itself is stored in ~/Library/Mail/V2/&lt;account-type&gt;-&lt;email-address&gt;.
This entire folder can be deleted for the account you wish to remove.