How to disable notification for open email communications?

As I’m already getting Email notifications, I would like to disable the notification of communication DocType for E-mails. Any suggestions on how I can approach that?

Can you specify which notifications?

I’m working on modifying frappe/core/notifications.py so that the notifications under “Communication” do not include notifications of “Email” which are already visible separately.

So adding a filter: communication_medium != “Email”

Created PR: https://github.com/frappe/frappe/pull/2995