Not sure I understand the issue. I am using NIP-17 to communicate between safeboxes. Why do you need to keep track of events? I just ignore previous until a since time. I don’t generate a new pubkey to receive each new message.