```email.send({ author: author, ...
# suitescript
a
Copy code
email.send({
		    				author: author,
		    				recipients: email_address,
		    				subject: subject,
		    				body: body,
		    				relatedRecords: {
		    					//entityId: customer,
		    					transactionId: so_id.toString() // this fixes the bug, so that it will actually attach
		    				}
		    			});