Hi, Does anyone know how to use the relatedRecords parameter in email.send options? Here is the code I'm trying to attach the email to the transaction, but its not working: email.send({
author: 11363865,
recipients: '
abc@abc.com',
subject: 'Order',
body: emailBody,
relatedRecords: {
transactionid: context.newRecord.id
}
});