get email working for rsync and validate