-- added a condition to check to send email reciept is ON or OFF, BRES-9...

...6