SendMail change - removal of Config object parameter