Theese are some minor functions with a minor mode to show historical notifications from dunst using dunstctl. It’s mainly intended for my personal use but please feel free to use it as you like.
I’m usually on a late version of emacs but I think with a version of 27 or later you’ll be fine.
Add dunst-history.el to your load-path and then you can use (require ‘dunst-history)