Methods to attach emails to NetSuite records without sending

Method 1: Adding Internal Messages Using  N/message Module This method allows you to create messages that can be associated with records. /** * @NApiVersion 2.x * @NScriptType UserEventScript */ define([‘N/message’, ‘N/record’], (message, record) => {    const addInternalMessage = (recordId) => {        // Create a new message       let messageRecord = record.create({         type: ‘message’,         isDynamic: true       });       messageRecord.setValue({         fieldId: ‘author’,         value: authorId       });… Continue reading Methods to attach emails to NetSuite records without sending