I want to send a mail to a person when the form is submitted. How to do it?
You can do it easily with notifications in ERPNext. For more info, check here https://docs.erpnext.com/docs/user/manual/en/notifications
Is this possible to do for only a particular doctype?