Hello @Erik Smit
After some tinkering and trying to get my own listener working, I've managed to make it work. So here are some snippets which I hope will help you!
So first of all my Notification class looks the same as yours. When I receive a notification this is how I parse it in my GraphListenerController:
Looking at line 66, it gets the message from _graphService.GetMessage(current), and here is the part of the method you need:
Line 156 splits notification.Resource by the '/' character (Resource is User/{userId}/Messages{messageId}), and from there I get the message and user Id. With that information I can just make a request in line 160 to get the exact message.
Also, using notification.ClientState I am able to get the mailbox in which it is located. From there I just map the values to an object which is sent to the frontend via signalR (line 71 in the 1st screenshot).
Hope this solution helps you!
If you have any questions feel free to ask.
Best regards,
Emin