Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmail.get .email_id() #12

Closed
sshaji opened this issue Dec 5, 2013 · 3 comments
Closed

gmail.get .email_id() #12

sshaji opened this issue Dec 5, 2013 · 3 comments
Assignees

Comments

@sshaji
Copy link

sshaji commented Dec 5, 2013

If conversation view is enabled in gmail, this API is retuning the id of the first email in that thread (looks like the id from location hash)..It will be great if it can return the id of the email that is currently opened in the conversation..
(By default its the last email in the conversation)

@KartikTalwar
Copy link
Owner

I debated on that a little when creating it. If threaded conversations are enabled do you think it makes more sense to return all the ids for the thread? I think gmail also has a notion of email_id and a thread_id (I couldnt decipher that properly). Although the last conversation is the current open item, if an email inside the thread is starred, that stays open too. Thoughts?

@sshaji
Copy link
Author

sshaji commented Dec 5, 2013

Yes...Returning all make sense...

@ghost ghost assigned KartikTalwar Dec 5, 2013
KartikTalwar added a commit that referenced this issue Dec 6, 2013
@KartikTalwar
Copy link
Owner

So the email_id (string) is required for getting thread data so I've added gmail.get.email_ids() which returns a list of all the ids in the thread. The list order maps to the email order in the inbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants