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 2498C6DE0962 for ; Mon, 13 Mar 2017 03:55:10 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.125 X-Spam-Level: X-Spam-Status: No, score=-0.125 tagged_above=-999 required=5 tests=[AWL=-0.105, 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 sViG3AsW97pu for ; Mon, 13 Mar 2017 03:55:09 -0700 (PDT) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by arlo.cworth.org (Postfix) with ESMTPS id 829D26DE1730 for ; Mon, 13 Mar 2017 03:55:08 -0700 (PDT) Received: by mail-lf0-f42.google.com with SMTP id y193so61811192lfd.3 for ; Mon, 13 Mar 2017 03:55:08 -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:references:in-reply-to:user-agent:message-id :mime-version; bh=cOLUGlp3VPsZm769NsBEu7fSE43AIk56YI/co+IV1H8=; b=liOmAzx/7QSXgBJNoDIs+ARJgMsPQnxN9L98g/P4El7Eeh5QQN/sGsLzUkxvAHWpdO MJUgt5kN/24SLvWRNPiMVpLIb7uHgTx2XmcwHrJ6dMOu8aYVLzsawRJZoESUn877/ivZ IYbONYyQMsdcSTe8hI26wBkvaH7Kp7CA8NPCxm3sOLdlpAi2OpXDtkiaDK+iGR3nUDlo njSpipVM4HC0uKIQVaApozJOWBx1pWulpGCTMgT2S9YUhUiSQp6FiVgvhjSxizLaalpQ UM1YBhUqyWa6+af1k+COmUtkO7Dgw/tsrnaAf6uru+RG4PX1A0+kBuwbWywWpxsJYZeu bbkg== 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:references:in-reply-to :user-agent:message-id:mime-version; bh=cOLUGlp3VPsZm769NsBEu7fSE43AIk56YI/co+IV1H8=; b=UKAhhOD0jv36RHY8IQuXsOG2T/tXKpJ1YlK0DJM/q1vFX0flXKAGjGjR91vyVh1jye 6Y2eEpBWAzAK+7Xihum3uL5DTUP24NaJDqid/bYJbdvJi4XXrNc+go0DbHywMuvPPeGZ JqsnLBDxDO6u1xwpBw2jlwd/T/AMmbtoiIYMakqICHNdMBoOjl9NLLvR+yWcLkB6FJkS wXg13Fr4Gd9spvk2LNunPz7Ehi1B+Dfx89XolJxJvetGxzp2oS9LHBA0m+CiuNTBV2HX TJ0RJTofdV3KWugGtecwKt0xHhk5QNj3WDUGcCJ/Ge/LS/r91FucUlVEwFDd5MuJaVHd b96A== X-Gm-Message-State: AMke39mzPdkrLtTCy0HLSIOU1VLuNNPd/gYbd4LEFPd+RsJAU10w+MWUiiigkGN8aMnxfg== X-Received: by 10.25.87.200 with SMTP id l191mr8810396lfb.124.1489402506004; Mon, 13 Mar 2017 03:55:06 -0700 (PDT) Received: from localhost ([128.39.46.106]) by smtp.gmail.com with ESMTPSA id b16sm3546761lfe.30.2017.03.13.03.55.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Mar 2017 03:55:04 -0700 (PDT) Date: Mon, 13 Mar 2017 10:55:01 +0000 From: Gaute Hope Subject: [gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail To: notmuch@notmuchmail.org References: In-Reply-To: User-Agent: astroid/v0.7-76-g03446038 (https://github.com/astroidmail/astroid) Message-Id: <1489401808.6fnnjm7u8s.astroid@strange.none> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="=-3DN+CKRpXTIySFOtxUei" 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, 13 Mar 2017 10:55:10 -0000 --=-3DN+CKRpXTIySFOtxUei Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, 'gmailieer' (or 'gmi') is a small program that can pull email and labels (and changes to labels) from your GMail account and store them locally in a maildir with the labels synchronized with a notmuch database. The changes to tags in the notmuch database may be pushed back remotely to your GMail account. The initial fetch of all emails takes some time, but synchronizing labels and tags, and checking for new messages, is usually done in 1-2 seconds. It requires the most recent notmuch, the python googleapi bindings and tqdm. Disclaimer: This is still experimental, but it does not have access to delete e-mail on your account - only fetch and change labels, so damage should be limited. Instructions and source code can be found here: https://github.com/gauteh/gmailieer Regards, Gaute = --=-3DN+CKRpXTIySFOtxUei Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwTgvpR+zk9CtKEuvmCen6KB0kCMFAljGeoUACgkQmCen6KB0 kCMDOA//Rd59h/GrxdQn8pGXVgi7m3FzfRN1JjejMbV4UoBewxgH/K0DXKW5NFEd DxAOHAcVp51NBEjP2Davucc6yaYmEjxNjtMfsV7FmG8TzWwOnDnfFNqVWIw4ZKrL xdywluQvnapJ8nTz9GBVDUW4M0ZUKOleuCatYJJlP4t9swgBtyeL0LmTxTeSEOvt PqcqBqU5AuOcg+1JsPo3QclZJtHTzz7th1nIrQEU48yR6rOXrs/QQhA92CC+zquH qZpfdkBNXO1wIGKWUMizVisSxmkYWSkZhVacyDDAbcsAYuvUtpZA3qItIuXUwypx oJWMziST9ESsa0lTq2ATevywpufxpZ+rs++8fzB6Ied6BYImjugjqbjWCxBC2mgv 4haTWUHsQwRxpJS0PRM5/+e8Uirj+6p2cx/rXBbI1yWXxtbO6Yt5HQ79vJGRqkx3 AuLDaLr6wG/x5feaFOuPAPHNURGZ1BlPKpDnZ3XLUqtsF7QFAonQYTGMGw8BtTiX TjrA4TFP9FQbLelKRTyGQAKCFlw9eBXKV3j+RVucaCKPLHfETmv7V5WeoDmi8Gkn PbLAfrFf9+UneEO49G59k+CIFJ0VOrrLW2KCK0Nd0JW2ZQLG0QgbQFBG6lIfY7an p5jPMH+uwHWQkbBSOOXM1RSSJHkaqAv6r27Ooq8EAdmszlUsMhI= =nVHG -----END PGP SIGNATURE----- --=-3DN+CKRpXTIySFOtxUei--