i've never used the email module, but the document...
# suitescript
b
i've never used the email module, but the documentation for email.send(options) suggests:
Copy code
The integer ID for the custom record type attached to the Message record. This ID is shown as part of the record’s URL.
For example:/custrecordentry.nl?rectype=2&id=56