Re: [Imap-protocol] Gmail IMAP and X-GM-MSGID

Christine Spang <[email protected]> Wed, 16 Jul 2014 19:54:19 -0700
Newsgroups gmane.mail.imap.general
Message-ID <CAMMeFX6N-qeo4TT3BkTThrwPVwtm0czP6OjGAuTCohSMaB-zNw@mail.gmail.com>
Hi Saqib,

Thanks for the quick response.

I'm trying to maximally deduplicate Gmail messages amongst an (arbitrary)
set of Gmail accounts synchronized locally. Seems like you can deduplicate
within-account easily based on X-GM-MSGID, but cross-account deduplication
is much harder.

I'm using Gmail IMAP.

--Christine


On Wed, Jul 16, 2014 at 7:43 PM, Ali, Saqib <[email protected]> wrote:

> Hello Christine,
>
> As far as I know:
> 1) X-GM-MSGID is not unique.
> 2) It is possible.
> 3) No (as far as i know)
>
> Can you tell us what you are planning to use the X-GM-MSGID for?
>
> Are you using IMAP or Gmail REST API to access the Inbox?
>
> Saqib
> http://hivemined.net
>
>
> On Wed, Jul 16, 2014 at 7:29 PM, Christine Spang <[email protected]>
> wrote:
>
>> I know that some of the Gmail IMAP devs are on this list, so might be a
>> good place to ask a few questions about what assumptions one can make about
>> X-GM-MSGID with Gmail IMAP.
>>
>> * Is X-GM-MSGID globally unique across all of Gmail? (I assume no, given
>> sharding.)
>> * Can the same message in different accounts have the same X-GM-MSGID?
>> * Do X-GM-MSGID values associated with messages ever change? (Based on
>> the Gmail API docs about messageId, seems not?)
>>
>> --Christine
>>
>> _______________________________________________
>> Imap-protocol mailing list
>> [email protected]
>> http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol
>>
>
>

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol