我已经设置了一个gmailapi服务来查询我的电子邮件。我的连接已建立,我只是想下载一个文件附件。我很容易就找到了那个文件。//This api call will fetch the mailbody.this.gmail.users.messages.get({ 'id': msgId
}, (err
我正在尝试使用GmailAPI下载附件,下面是下载附件的代码var parts = Data.payload.parts;
var attachId = part.body.attachmentId;
var request = gapi.client.gmail.users.messages.attachments.get目前我得到的Gmail是未定义的
我正在试用gmailapi,但在使用过滤器时遇到了困难。我想排除一些电子邮件,比如过滤掉发送到"myname@mycompany.com“的电子邮件,在gmailapi文档中找不到任何东西。我正在使用nodejs客户端并像这样构造查询。const result = await gmail.users.messages.list({ userId: "me",q: `in:sent after
;// Specify the access token file
constGmailAPI has not been used in project 85650736890 before or it is disabled.Enable it by visiting https://console.developers