How to keep apple mail autostart on startup

To keep Apple Mail from automatically starting on startup on a Mac, you can follow these steps:

Method 1: Disable Apple Mail from automatically starting at login

  1. Go to System Preferences > Users & Groups.
  2. Select your user account from the list on the left.
  3. Click on the "Login Items" tab.
  4. Look for "Mail" in the list of login items and select it.
  5. Click the "-" button at the bottom of the window to remove it from the list.

Method 2: Disable Apple Mail from automatically starting at login using Terminal

  1. Open Terminal on your Mac. You can find Terminal in the Applications/Utilities folder, or use Spotlight to search for it.
  2. Type the following command and press Enter:
    defaults write com.apple.mail DisableMailAtLogin -bool true

    This will disable Apple Mail from automatically starting at login.

Method 3: Disable Apple Mail from automatically starting at login using Launch Agents

  1. Open the Launch Agents folder in the Finder. You can find it at ~/Library/LaunchAgents or /Library/LaunchAgents.
  2. Look for the file com.apple.mail.plist and move it to the Trash.
  3. Empty the Trash to remove the file.

After disabling Apple Mail from automatically starting at login, you can still start it manually by clicking on the Mail icon in the Dock or by searching for it in Spotlight.

Note: If you want to keep Apple Mail from automatically starting at login, but still want to receive notifications when you receive new mail, you can set up notifications for Mail in System Preferences > Notifications.