Setting up email notifications to be sent in XML format