XML data in email body

Is it possible to send XML data in the body of an email instead of creating an attached XML file?

If you use the Email Body field, instead of an external template file, you can specify custom HTML code. I’d assume it would work for XML as well.

I was hoping it would work, but I must be writing something incorrect in the template

There’s no support for XML content in the message body, so you’re going to have to work around the HTML support.

Any recommendations on how to do that

Nope.

How about sending xml data as a webhook? Would the XML content be in the body of a webhook as a template?

I’m afraid I have no experience with web hooks or API use, so I have no guidance to offer there.