Thread to detect if the user is active in Teams or not - Decide to send email only or Teams only notification.
All of our clients are complaining about 2 x notifications for the same thing - Via email and Teams and it's getting quite disruptive