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
Post a Comment