unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Rainer M Krug <r.m.krug@gmail.com>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,
	notmuch@notmuchmail.org
Subject: Re: gmail importer script
Date: Fri, 07 Dec 2012 14:57:23 +0100	[thread overview]
Message-ID: <50C1F5C3.6010201@gmail.com> (raw)
In-Reply-To: <CAHmME9pKBJ1Brad=Z1pErSjGqjsZ8Xn56uM-k-U7WLgwjspN_w@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/12/12 14:48, Jason A. Donenfeld wrote:
> 
> 
> On Fri, Dec 7, 2012 at 9:53 AM, Rainer M Krug <R.M.Krug@gmail.com <mailto:R.M.Krug@gmail.com>>
> wrote:
> 
> Sounds interesting.
> 
> I don't know much python, so excuse my questions:
> 
> 1) are multiple downloads of an email done, if the mail has multiple labels?
> 
> 
> No.

Good.

> 
> 
> 2) I am downloading with the patched notmuch (to add x-keywords containing the labels) only
> the "All Mail" folder - does your script use this information (if present) to tag the emails?
> 
> 
> What is the patched notmuch? What does that do?

Sorry - should have been "patched offlineimap" ( https://github.com/aroig/offlineimap
http://thread.gmane.org/gmane.mail.imap.offlineimap.general/5943/focus=5970 and
http://article.gmane.org/gmane.mail.imap.offlineimap.general/5970 )

It is synching the gmail labels into the x-keywords header as a comma separated list. These could
then be used by notmuch to be added to the labels. It also does sync changes from the X-Keywords
to gmail (see http://thread.gmane.org/gmane.mail.imap.offlineimap.general/5943/focus=5970 for details)

> 
> 
> 3) are label changes in gmail synched into the local emails?
> 
> 
> It pulls labels from gmail messages into notmuch, with the labels in tact, once per each
> email.

Good.

> 
> 
> 4) I assume, local changes are not synced to gmail?
> 
> 
> Correctamundo.
> 

OK.

> 
> 
> 5) how are conflicts handled (local tag changes versus label changes on gmail)?
> 
> 
> They aren't. See 3.
> 

Thanks,

Rainer


> 
> 
> Thanks,
> 
> Rainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG
> with Mozilla - http://www.enigmail.net/
> 
> iEYEARECAAYFAlDBrqAACgkQoYgNqgF2egqrEwCeOSr5TGZgAIaRvzHCl1Nv+DBk 
> ko4AnRT0FMBwYNRGzSclXxZXzaH0Q23x =Sx0B -----END PGP SIGNATURE-----
> 
> _______________________________________________ notmuch mailing list notmuch@notmuchmail.org
> <mailto:notmuch@notmuchmail.org> http://notmuchmail.org/mailman/listinfo/notmuch
> 
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDB9cMACgkQoYgNqgF2egrEkACeLD9p4CUW3EhliFQ44cigpZdF
o8AAnA9M8tmw52W3m62QFJaFuoOLdto2
=6Zrk
-----END PGP SIGNATURE-----

  reply	other threads:[~2012-12-07 13:57 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07  0:24 gmail importer script Jason A. Donenfeld
2012-12-07  4:05 ` Kushal Kumaran
2012-12-07  8:53   ` Rainer M Krug
2012-12-07  9:23     ` Patrick Totzke
2012-12-07 13:49       ` Jason A. Donenfeld
2012-12-08 16:20         ` Patrick Totzke
2012-12-08 17:04           ` Jason A. Donenfeld
2012-12-08 17:19             ` Jason A. Donenfeld
     [not found]               ` <20121213141917.GD3658@tungsten.lan.mitsi.com>
     [not found]                 ` <CAHmME9op8V+ZJGVwBJPZ653mHYBnMAvxb426LAP-Bu27-rzmYA@mail.gmail.com>
2012-12-13 15:23                   ` fREW Schmidt
2012-12-13 15:24                     ` Jason A. Donenfeld
2012-12-13 16:48                       ` Patrick Totzke
2012-12-15  8:22                         ` Jason A. Donenfeld
2012-12-15 10:41                           ` Patrick Totzke
2012-12-16 20:44                             ` Jason A. Donenfeld
2012-12-16 22:31                               ` Patrick Totzke
2012-12-17  8:31                                 ` Patrick Totzke
2012-12-08 17:46             ` Patrick Totzke
2012-12-09 23:13               ` Jason A. Donenfeld
2012-12-10  9:41                 ` Patrick Totzke
2012-12-10 17:46                   ` Jason A. Donenfeld
2012-12-11  7:06                     ` Jason A. Donenfeld
2012-12-11  9:12                       ` Patrick Totzke
2012-12-11  9:12                         ` Jason A. Donenfeld
2012-12-11 10:04                           ` Patrick Totzke
     [not found]                           ` <20121213142228.GE3658@tungsten.lan.mitsi.com>
2012-12-13 14:30                             ` Jason A. Donenfeld
2012-12-13 14:35                               ` fREW Schmidt
2012-12-13 15:15                                 ` Jason A. Donenfeld
2012-12-07 13:48     ` Jason A. Donenfeld
2012-12-07 13:57       ` Rainer M Krug [this message]
2012-12-07 15:32         ` Jason A. Donenfeld
2012-12-08 12:40           ` Rainer M Krug
2012-12-08 13:15             ` Jason A. Donenfeld
2012-12-10  9:12               ` Rainer M Krug
2012-12-07 15:30       ` Jason A. Donenfeld
2012-12-07 11:48 ` [PATCH] Minor style changes Michal Nazarewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C1F5C3.6010201@gmail.com \
    --to=r.m.krug@gmail.com \
    --cc=Jason@zx2c4.com \
    --cc=Rainer@krugs.de \
    --cc=notmuch@notmuchmail.org \
    --cc=public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).