Re: [Imap-protocol] Gmail IMAP and X-GM-MSGID
Christine Spang <[email protected]> Wed, 16 Jul 2014 21:59:30 -0700
| Newsgroups | gmane.mail.imap.general |
|---|---|
| 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 <[email protected]> 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 <[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 > > > _______________________________________________ Imap-protocol mailing list [email protected] http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol