Alert for rsync completion/failure

Problem/Justification
We need an alert/email from an rsync job upon success or failure listing details/errors. Rsync is tempermental about permissions so failure to sync a file between folders does happen.

Impact
Currently rsync jobs only show success or fail on the GUI … which requires you to login to check the job, which I don’t always have time to do. Getting an email would be better “eye candy”.

User Story
I rsync 15 dataset/NFS filesystems daily between two Truenas systems and a Synology. I would like to receive email from TN telling if the job completed (and how many files were copied, or failed). This information is already available from the native rsync command and obviously available to TN since it can indicate success or failure in the GUI.