You'll have to first select a thread or message and then tack on the method getId(). For example: GmailApp.getInboxThreads()[0].getId() or GmailApp.getInboxThreads()[0].getMessages()[0].getId() Read more on it here: developers.google.com/apps-script/reference/gmail/gmail-message#getid
Hi David, I want to know what is the limit of getInboxThreads() in a day, I know that it will give maximum of 500 threads but if we run it in a loop what will be the limit for 1 day?
Great Lesson!!
I have a script done and everything is working fine on my end. How come every time I send it to someone it doesn't work on their end?
how to set url in gmail addon's within popup
how to get message Id and thread Id
You'll have to first select a thread or message and then tack on the method getId(). For example: GmailApp.getInboxThreads()[0].getId() or GmailApp.getInboxThreads()[0].getMessages()[0].getId() Read more on it here: developers.google.com/apps-script/reference/gmail/gmail-message#getid
@@DavidWeissProgramming thanks
@@DavidWeissProgramming can you please make video on custom search API in app script
Hi David, I want to know what is the limit of getInboxThreads() in a day, I know that it will give maximum of 500 threads but if we run it in a loop what will be the limit for 1 day?