MBOX-Line: From dinh.viet.hoa at gmail.com  Wed Jul 16 20:00:08 2014
To: imap-protocol@u.washington.edu
From: "Hoa V. Dinh" <dinh.viet.hoa@gmail.com>
Date: Fri Jun  8 12:34:53 2018
Subject: [Imap-protocol] Gmail IMAP and X-GM-MSGID
In-Reply-To: <CAMMeFX6N-qeo4TT3BkTThrwPVwtm0czP6OjGAuTCohSMaB-zNw@mail.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>
Message-ID: <874AA50791EC4A89B8989C2ABADF0B3E@gmail.com>

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 (mailto: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 (mailto: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 (mailto:Imap-protocol@u.washington.edu)
> > > http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol
> >  
>  
> _______________________________________________
> Imap-protocol mailing list
> Imap-protocol@u.washington.edu (mailto: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/e7371ef5/attachment.html>
