Sending data to structure via e-mail form

You can see how to call the function with parameters here: Add to Structure in specific language