Send Email using Email Template To create an email template record: Go to Documents > Templates > Email Templates > New. In suitescript file add code: