Added code to auto send emails to CAP valuation