标签: node.js google-api-nodejs-client
我使用https://github.com/google/google-api-nodejs-client从我的Gmail帐户获取线程/邮件列表
我的电子邮件的有效负载(正文)中有多部分/相关内容,如何将其转换为html或pdf?
有更好的方法获取gmail的内容吗?
我得到了这样的信息:
const full = await gmail.users.threads.get({ userId, id: firstThread.id, format: 'full' });