Let's begin by considering some of the fundamental problems that underlie our search for a better foundation, for how these problems are addressed will determine the success or failure of the effort.
There should be four tasks, one to export the deployment, one to execute the batch file, and then one to e-mail notification for either success or failure of the agent or any of the previous tasks.