I ended up creating a workflow to send the email, and put the template under /apps/mysite instead of under /libs. For the form's submit action, select "Invoke an AEM workflow". For the workflow:- Add a variable "dataxml" of type XML, plus String variables for placeholders in the template.- Add the S...