Can I trigger an email after inserting a lead through API?
Yes, you can do this by creating a workflow to send automated emails when leads come into CRM. When you call the API to insert Leads, please append the parameter "wfTrigger" with the value as "true". Read more about inserting record parameters.
This will trigger the workflow after the record is inserted, which will in turn send the email.