I was looking at the last bit of code and I was saying why are you destructuring sendNotificationsToUsers. Now, that I realise, I usually just return a function and do a call, but this way is easier.
I have one question, how would you convince your co-worker implementing this when the code base is already messed-up?