How to hide incoming mail alert on mac

To hide incoming mail alerts on a Mac, you can follow these steps:

Method 1: Disable Mail Alerts in System Preferences

  1. Click the Apple menu and select "System Preferences."
  2. Click on "Notifications."
  3. Click on "Mail" in the left-hand menu.
  4. Uncheck the box next to "Alerts" to disable incoming mail alerts.

Method 2: Disable Mail Alerts in Mail App

  1. Open the Mail app on your Mac.
  2. Click on "Mail" in the top menu bar and select "Preferences."
  3. Click on the "General" tab.
  4. Uncheck the box next to "Show alerts for new messages" to disable incoming mail alerts.

Method 3: Use a Third-Party App to Silence Mail Alerts

  1. Download and install a third-party app like "Do Not Disturb" or "Silent Mail" from the Mac App Store.
  2. Follow the app's instructions to set up and enable the feature.

Method 4: Use a Script to Disable Mail Alerts

  1. Open the Terminal app on your Mac.
  2. Type the following command and press Enter: osascript -e 'tell application "Mail" to set alerts to false'
  3. This will disable incoming mail alerts.

Note: These methods will disable incoming mail alerts for all accounts in the Mail app. If you want to disable alerts for a specific account only, you can use Method 2 and select the account from the "Accounts" tab in the Mail app preferences.