The problems over the last couple of days with restoring the messages that were missing weren't as simple as I imagined they would have been to solve. Getting the messages was straightforward enough (thanks to everyone who helped!), but getting them into the database was more involved than I imagined. The difficulty was the result of one post by a certain member who shall remain nameless (hint: his initials are RK!). Fortunately I got the solution by consulting with Perplexity AI, and it inspired me to write a blog post:
https://blog.leafe.com/working-with-ai/
-- Ed Leafe