Using Agent to locate and utilize .text properties

I am trying to find a way for an agent within Notes to find and compile a list of .text documents by the creation date of the document. The agent would then compare it to today’s date and send emails to people who are responsible for those documents. Can anyone help me with this?