Agent that will create a Flat File

Does anyone no where I can script that will do the following.

Create a flat file on a specific directory of the server. That will conatin the Sender, Subject, and Body of email.

The condition is if the subject conatins REQUEST an agent will create a flat file with the information from that email on a local or remote directory.

Subject: Agent that will create a Flat File

Read the topic ‘Print #’ statement in the Lotus Domino Designer help database. It has examples of writing to a flat file.

Alex