After new mail arrives

Hi,

How can I get hold of the mail which comes to my mail-in db in the agent(after new mail arrives) using Lotus Script.

Subject: After new mail arrives

notessession.documentcontext

Subject: RE: After new mail arrives

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/2add989595d7cae985256f070010a882?OpenDocument