How to remove complete apple mail info mac os 10.13

A fresh start!

To remove all Apple Mail data and settings on a Mac running macOS High Sierra (10.13), follow these steps:

Warning: Before proceeding, make sure you have backed up your important emails and contacts, as this process will delete all data associated with Apple Mail.

Method 1: Remove Apple Mail data using the Mail app

  1. Open the Mail app on your Mac.
  2. Go to Mail > Preferences (or press Command +,).
  3. Click on the Accounts tab.
  4. Select each account (e.g., iCloud, Exchange, IMAP) and click the Edit button.
  5. Click Remove to delete the account.
  6. Repeat steps 4-5 for each account.
  7. Close the Preferences window.

Method 2: Remove Apple Mail data 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:
    rm -rf ~/Library/Mail

    This will delete the entire Mail folder, which contains all your email data.

Method 3: Remove Apple Mail data using the Finder

  1. Open the Finder and navigate to the following folder:
    ~/Library/Mail
  2. Delete the entire Mail folder and its contents.

Additional steps to remove other related data

  1. Remove the Mail folder from the ~/Library/Caches folder:
    rm -rf ~/Library/Caches/com.apple.mail
  2. Remove the Mail folder from the ~/Library/Saved Application State folder:
    rm -rf ~/Library/Saved Application State/com.apple.mail
  3. Remove the Mail folder from the ~/Library/Preferences folder:
    rm -rf ~/Library/Preferences/com.apple.mail.plist

    Verify the removal

After completing these steps, restart your Mac and open the Mail app to verify that all data has been removed. If you still see some data, you may need to manually delete additional files or folders.

Remember to reconfigure your email accounts and set up your Mail app again if you need to use it.