Sends an email with bound variables to a well-formed XML document.