From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 38FB96DE1502 for ; Mon, 27 Mar 2017 06:41:12 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.116 X-Spam-Level: X-Spam-Status: No, score=-0.116 tagged_above=-999 required=5 tests=[AWL=-0.096, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QWSz8Gu03XVi for ; Mon, 27 Mar 2017 06:41:11 -0700 (PDT) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by arlo.cworth.org (Postfix) with ESMTPS id A69F86DE14FC for ; Mon, 27 Mar 2017 06:41:10 -0700 (PDT) Received: by mail-lf0-f51.google.com with SMTP id x137so21479483lff.3 for ; Mon, 27 Mar 2017 06:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaute-vetsj-com.20150623.gappssmtp.com; s=20150623; h=date:from:subject:to:cc:references:in-reply-to:user-agent :message-id:mime-version:content-transfer-encoding; bh=WWZyt1FgJXyTgJEEUCdfdtNaEKoNSZcGjSThmrHdDp0=; b=p3dZEmxE0MiTeAjwrwZqFSZdv64fl1f5K113rBixYIK8ouRWmhyhAUxQIEEsebVu5y LbAqd/uDNARwnHQi3oUh34seVyA0Ma+N9QRT6hciDgEdjlOVcF2sKZkmTztWhT3q5fvE eI2zKHRL0eDVV1JVHciMk+5A1nlDMpkTTxHLn2DiIPSQ+hsDHFjEejsbPZY6J82F6Xmp VKlGomdbrYGs8KX3kCucZBj3IQQj47vTQ5RlLNucz+tzCxtwc2VDaJbPIBKj5l+bTgV1 mV54EbovyN6AjeAfczYPtW/D+/CI0BVKqR1hNe3HrQzAmpBt1nqGQcQaKuhjIBvYZeQ3 AjtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :user-agent:message-id:mime-version:content-transfer-encoding; bh=WWZyt1FgJXyTgJEEUCdfdtNaEKoNSZcGjSThmrHdDp0=; b=ljU5OFoui25PQLfk4MjZLr3+YnypentcXv6atIAGkCut1rBPJsrmthhu+tsg2v6sba 6vPLHxKyIAmIM2BRyt0p0UqWskLYLqhYzvB/nGS/ezHs9DgBgqrm5k4I0c5nmVaqJ3js baoZQSDYJYFNXvXIV9xbCgHjW0SvDEhFExdvrHdDJXhGr0umfOidBEmwQmEifO1iwHYP jdUaobYqznO0f4ENk0yR8A18scQ7XxQUuyF+k9PpkrUk3TRtuE8+1jCYCqF7CzBPt5Oq D6e0Xp2RU++4bQdFkhnk86Yetwq5OQej06/+TO6h1VF2V9p3pg0/Hssn2yonkWNkdUg+ tQWg== X-Gm-Message-State: AFeK/H2FgJAWkrkn4WHx08OqIzCRPHM+QhgleWZOwK22F6Dl36GtuK8fdoM3aKTZUvVQUQ== X-Received: by 10.25.221.132 with SMTP id w4mr9813031lfi.59.1490622068327; Mon, 27 Mar 2017 06:41:08 -0700 (PDT) Received: from localhost ([128.39.46.106]) by smtp.gmail.com with ESMTPSA id z25sm131513lja.50.2017.03.27.06.41.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Mar 2017 06:41:07 -0700 (PDT) Date: Mon, 27 Mar 2017 13:41:04 +0000 From: Gaute Hope Subject: Re: [gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail To: Rafael =?iso-8859-1?q?Esp=EDndola?= Cc: notmuch@notmuchmail.org References: <1489401808.6fnnjm7u8s.astroid@strange.none> <87k27r26xd.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> <1489526023.3h28rur3jt.astroid@strange.none> <878tnrla97.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> <1490591813.ujxyjti2et.astroid@strange.none> In-Reply-To: User-Agent: astroid/v0.8-10-gcca406ae (https://github.com/astroidmail/astroid) Message-Id: <1490621477.l667j2zgqj.astroid@strange.none> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2017 13:41:12 -0000 Rafael Esp=C3=ADndola writes on mars 27, 2017 15:23: >> $ gmi pull # does the initial pull, fetching all you messages - this >> # could take some time. >=20 > It is currently running. Thank you so much. >=20 > The only things I noticed so far: >=20 > * running auth before init fails, but running init -c ... -a ... works > * I had to name the auth file client_secret.json or "gmi pull" would > fail trying to read it. Right, that should be the other way around. I'll update the README. There are two secret files. One is the API client_secret which can be specified with the '-c' option (also for pull), this one is only needed initially and can otherwise be stored somewhere else: When authenticating (either running 'auth' or some operation requiring authentication: pull/push) a local access token is retrieved, this is stored in: .credentials.gmailieer.json in the local mail repository. > gmail. My previous setup was to use mbsync. It is really fast for > fetching new emails (--pull-new), but with imap the only way to get > flag changes (including read/unread) seems to be to ask for the flag > of every message! Thanks! - gaute =