I'm using https://github.com/google/google-api-nodejs-client to get a list of threads/messages from my gmail account
I've got a multipart/related as the payload (body) of my email, how can I transform it to html or pdf?
Is there a better easy to get the content of gmail ?
I got the message like this:
const full = await gmail.users.threads.get({ userId, id: firstThread.id, format: 'full' });