I have two gmail accounts I created a thread consisting of five messages and retreived them with gmail gapi at this page https://developers.google.com/gmail/api/v1/reference/users/threads/get.  This is what I got:    As you can see, the ids don't...
I am having serious problems decoding the message body of the emails I get using the Gmail API. I want to grab the message content and put the content in a div. I am using a base64 decoder, which I know won't decode emails encoded differently, bu...
I'm trying to run jQuery's $.get after having a user log in with the G+ API with javascript, but am getting a 401 ( unauthorised ) error in the browser console.  Here is the format of the url I am requesting: https://www.googleapis.com/gmail/...
I am using javascript gmail api to fetch email threads using threadId. I am using the following code:  var request = gapi.client.gmail.users.threads.get({   'userId': 'me',   'id': '123abc' });  request.execute(functio...
I have an application that accesses Google APIs out of a Chrome extension via the workflow outlined here.  Chrome Extensions OAuth Tutorial  The basics of the workflow are to initialize the OAuth flow  var oauth = ChromeExOAuth.initBackgroundPage({...
How does this Gmail.Users.Messages.remove(userId, id) work? What is the ID of the email and is it the right function to permanently delete an email?  In my case I want to delete all my sent emails instantly and definitely. Here's some code I took...
I'm using javascript to call the /batch API method for getting a number of messages at once. According to the docs it returns an HTTP response with a multipart/mixed content type. I'm trying to loop through this as JSON, but am not sure how t...
let fs = require('fs'); let google = require('googleapis');  getMessage(userId, messageId, callback) {     let gmail = this.getGmailService();     var request = google.client.gmail.users.messages.get({         'userId': userId...
I'm writing an auto-replying bot for gmail using Google Apps Script (http://script.google.com). Each time I use GmailThread's Reply to reply to message:  var htmlbody = "Hello<br>This is a <b>test</b>.<br>Bye."...
I'm trying to save an email in to a particular drive folder however getting error message  TypeError: Cannot find function hasNext in object   Any idea how I can overcome this.  function saveGmailToDrive() {      var gmailLabels  = "SaveToDri...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.