Update rsync_backup_for_synology.sh

Lot of fixes, mail on error function