Delete mac mail account

To delete a Mac Mail account, follow these steps:

Method 1: Delete a Mail account from the Mail app

  1. Open the Mail app on your Mac.
  2. Click on the "Mail" menu at the top of the screen and select "Preferences" (or use the keyboard shortcut Command + Comma).
  3. Click on the "Accounts" tab.
  4. Select the account you want to delete from the list of accounts.
  5. Click the "minus sign" (-) button at the bottom of the window to delete the account.
  6. Confirm that you want to delete the account by clicking "Delete" in the dialog box that appears.

Method 2: Delete a Mail account from System Preferences

  1. Click on the Apple menu at the top of the screen and select "System Preferences".
  2. Click on "Internet Accounts".
  3. Select the account you want to delete from the list of accounts.
  4. Click the "minus sign" (-) button at the bottom of the window to delete the account.
  5. Confirm that you want to delete the account by clicking "Delete" in the dialog box that appears.

Method 3: Delete a Mail account using the Terminal

  1. Open the Terminal app on your Mac (you can find it in the Applications/Utilities folder or use Spotlight to search for it).
  2. Type the following command and press Enter: sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mail.plist
  3. Type your administrator password when prompted.
  4. Type the following command and press Enter: rm -rf /Users/your_username/Library/Mail/V2/your_account_name
  5. Replace "your_username" with your actual username and "your_account_name" with the name of the account you want to delete.

Note: Be careful when using the Terminal method, as it can potentially delete other files and data on your Mac. Make sure to replace "your_username" and "your_account_name" with the correct values.

After deleting the account, you may need to restart your Mac or relaunch the Mail app for the changes to take effect.