added the emailing to the system pipline trasform code