Awesome, thank you, this helped. I’ve converted the script into macOS shell (see here Email list of backed up files).
But it isn’t working well because is sends a report every backup run whereas sometimes there are no changes ( = no need to report). How can script-after detect that nothing has been backed up on the current run? Is there an environment variable that hold this value?
See the same question here: How I can see what files was added to backup?! .