I have a mail-in database and I want to modify a mail doc before arrive to this db. I created an agent with trigger "Before New Mail Arrives" but I will took this new doc and modify something in it

How does know the agent which is mail and which is not ? Based on internal variable "Form" of the form "Memo"

x !