TypeError: (0 , _ramda.pathOr)(...).trim is not a function
While without "{valueAsString: false}" it is working fine.
Unfortunately some email body (strings) I'm listing are encoded with base64, some are in quoted printable, so I want to have Uint8Array to be able to decode body my way. With this error its impossible at the moment.
const emailParams = ['uid', 'envelope', 'body[]'];
await client.listMessages(crawlerFolder, queryEmailsNumber, emailParams, {valueAsString: false});
Throws an error
While without "{valueAsString: false}" it is working fine.
Unfortunately some email body (strings) I'm listing are encoded with base64, some are in quoted printable, so I want to have Uint8Array to be able to decode body my way. With this error its impossible at the moment.
Seems like this part is failing: