How can I send by email a submission with the API?