Windows notification buttons

An option to not open the main windows when marking an email as read

The Problem

When clicking the mark as read, it opens the main window. I want to just mark it as read as its a mail I dont need to open.

Proposed Solution

a toggle in settings to let window be closed when clicked on notification