Sending emails from SQL using external HTML files as templates