Notifications do not respect focus mode on macOS

Description

Mailspring does not seem to respect the focus mode settings on macOS. For example, the Do Not Disturb focus mode turns off all notifications. Even when I have this mode on the Mailspring app makes a sound when I receive and email into my inbox.

To Reproduce…

Steps to reproduce the behavior:

  1. Open Mailspring app on macOS
  2. Turn on the “Do Not Disturb” focus mode
  3. Send yourself an email
  4. You hear the received email sound notification

Expected Behavior

I expect that no sounds are played for any notification when Do Not Disturb is activated.

Screenshots

N/A

Setup

  • OS and Version: macOS 14.4.1 - Apple Silicon
    • Installation Method: Installer
  • Mailspring Version: 1.15.1

Additional Context