Ah yes. But the issue is that I don't know the GM-THRID by the time I trigger my task. All I have to go by are the email's subject/recipients/date, and with that I do a SEARCH query to get the UID and RFC822 ID.
On Friday, October 25, 2013 1:17:38 PM UTC+8, Vinny P wrote: > > On Thu, Oct 24, 2013 at 8:44 PM, John Del Rosario > <[email protected]<javascript:> > > wrote: > >> Regarding the X-GM-THRID command, how would I generate the GM-THRID from >> a message UID or RFC822 ID? (I don't have the GM-THRID at hand, and it's >> not possible for me to get it from the browser url and DOM) >> > > > You don't generate it. The thread ID is supplied when you use the FETCH > command with X-GM-THRID as an argument. See here for an example of how it > works: > https://developers.google.com/gmail/imap_extensions#access_to_the_gmail_thread_id_x-gm-thridand > here: > http://yuji.wordpress.com/2011/06/22/python-imaplib-imap-example-with-gmail/ > (scroll > down to where it says *Fetches*). > > > ----------------- > -Vinny P > Technology & Media Advisor > Chicago, IL > > App Engine Code Samples: http://www.learntogoogleit.com > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
