Support for script execution on new emails