MBOX-Line: From spang at inboxapp.com  Wed Jul 16 21:59:30 2014
To: imap-protocol@u.washington.edu
From: Christine Spang <spang@inboxapp.com>
Date: Fri Jun  8 12:34:53 2018
Subject: [Imap-protocol] Gmail IMAP and X-GM-MSGID
In-Reply-To: <874AA50791EC4A89B8989C2ABADF0B3E@gmail.com>
References: <CAMMeFX5dySxGS4XwxW=zyt_J+qxq++T=_Tt4DGVKAKhztJ8ZMA@mail.gmail.com>
	<CABDm0O8yWvawiMFpT+u6YjH9Eb=2MZbsmt6dqCB3+uU-F+2x_Q@mail.gmail.com>
	<CAMMeFX6N-qeo4TT3BkTThrwPVwtm0czP6OjGAuTCohSMaB-zNw@mail.gmail.com>
	<874AA50791EC4A89B8989C2ABADF0B3E@gmail.com>
Message-ID: <CAMMeFX4HKhe3Hw-CBEoRVomrNYRZUze53WZdJyCJO7=0eRWkAA@mail.gmail.com>

Yeah, I thought about it a bit more and I don't think cross-account dedup
actually makes sense. For full message content / attachments I'm already
using content hashes to dedup the canonical store.

Thanks for the input!


On Wed, Jul 16, 2014 at 8:00 PM, Hoa V. Dinh <dinh.viet.hoa@gmail.com>
wrote:

>  I?m not sure how much you would gain by reduplicating across accounts.
> One way you could try to de-duplicate could be to get a hash (sha1?) of
> the content of the email.
>
> --
> Hoa V. Dinh
>
> On Wednesday, July 16, 2014 at 7:54 PM, Christine Spang wrote:
>
> 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 <docbook.xml@gmail.com> 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 <spang@inboxapp.com>
> 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
> Imap-protocol@u.washington.edu
> http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol
>
>
>
> _______________________________________________
> Imap-protocol mailing list
> Imap-protocol@u.washington.edu
> http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20140716/c56f522e/attachment.html>
