OlaN
Tera Sage

Hi,

One way to do this is to have the script include generate an event, and register an email notification that is sent when the event occurs.

Have a look at the Docs to get an example on how to work with events.