Getting UID that you get for gmail IMAP using new REST API -


is possible gmail uid while using imap api using new rest api. allow keep part of imap code , migrate towards new rest api.

folder uids imap protocol specific (and expensive compute+maintain) api server doesn't have those. x-gm-msgid , x-gm-thrid gmail imap extensions indeed same values web ui , api use, in decimal format not hex encoded , can rely on them being same according docs:

"the message id 64-bit unsigned integer , decimal equivalent id hex string used in web interface , gmail api."

from: https://developers.google.com/gmail/imap_extensions#access_to_the_gmail_unique_message_id_x-gm-msgid

(just need trivially convert between decimal , hex string.)


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -