fix email message and keep track of rsync success