Hi @Rahul7218
If same Sales person creating the record.
then you get {{doc.owner}}
by this email will come.
For get full name use {{ frappe.get_fullname(doc.owner) }}
Sales Person is the Child table.
It is possible more than one row will exist in the record
If only one record all time in the table then we can use
{{ doc.sales_team[0].sales_person }}
by this only first row Sales Person name will come.
Ok let me check using this