Pass the rendered template HTML string to an external function
You would need to build a plugin that fetches the HTML string and then passes it on to cURL or whatever you choose.

For a specific solution on how to get a template HTML string with all the parameters you need check out this answer