unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Rainer@krugs.de
Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,
	notmuch@notmuchmail.org
Subject: Re: gmail importer script
Date: Sat, 8 Dec 2012 14:15:26 +0100	[thread overview]
Message-ID: <CAHmME9r-gnWFoC0tdPPDMtVFLKCTEO-FDCStU9cNO_vn6DYv_A@mail.gmail.com> (raw)
In-Reply-To: <CAGhLh6GKRYNxm3=RhZdMwhSc-jDwGgFRrKSQqbagzv=GeH0+Yw@mail.gmail.com>

> I actually prefer this approach, but I think it would be more useful to
> leave the syncing of the emails to a different program, and then just
> managing the labels / tags with your tool (which is notmuch territory). So
> the workflow would be:
> So, implementing the mail sync in this script would, as I see it, kind of
> reinventing the wheel.

You're misunderstanding me. Let me make it very clear what the script
does. Actually why don't you just read the source code? Please? Well,
anyway, here:

- It looks in gmail and asks it which messages gmail has
- It downloads those messages
- It applies gmail's labels to those messages as tags

The end.

Along the way it has some smart things to reduce redundant downloads.

For more information, consult the source code.

  reply	other threads:[~2012-12-08 13:15 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
2012-12-07 15:32         ` Jason A. Donenfeld
2012-12-08 12:40           ` Rainer M Krug
2012-12-08 13:15             ` Jason A. Donenfeld [this message]
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=CAHmME9r-gnWFoC0tdPPDMtVFLKCTEO-FDCStU9cNO_vn6DYv_A@mail.gmail.com \
    --to=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).