add condition to check recordSource for transactional emails; update batch recordSource to correct value