Oh, you're right. I missed that in the docs. Gonna try that out. Thanks!

On Monday, October 28, 2013 12:19:18 PM UTC+8, Vinny P wrote:
>
> On Sun, Oct 27, 2013 at 8:57 PM, John Del Rosario 
> <[email protected]<javascript:>
> > wrote:
>
>> 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. 
>>
>>
>
> But you can extract X-GM-THRID using the ID of the email. Call *SEARCH*and 
> get the message ID of the original email using the data you've stored. 
> Then call *FETCH [ID] (X-GM-THRID)* to get the thread id. Then call *
> SEARCH* again with the *X-GM-THRID* argument to extract all replies.
>
> Of course, this is a bit roundabout - the easier way would be to record 
> the thread id when you're originally fetching the emails to store, prior to 
> calling the task.
>   
>
> -----------------
> -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.

Reply via email to