Scripts

hello
maybe im wrong here and better on the devel. list, but any has infos , how i
can change / modify the scripts

i cant see a script for

eg: normaly, …when a corresp. addet…
i need , when a corss added from user with email adr. “XZY@” … then reply
with …template…

any ideas or docs etc ?
thanks