Nodemailer dependency with Realm functions

still have the error:

{“message”:“The ‘hostname’ argument must be of type string”,“code”:“ECONNECTION”,“command”:“CONN”}

kind regards