How to use SendEmailFromTemplate action with JavaScript and WebApi – Andrew Butenko’s Blog