--- /dev/null
+Return-Path: <sebastian.fischmeister@uwaterloo.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id C31556DE034D\r
+ for <notmuch@notmuchmail.org>; Fri, 29 Apr 2016 19:08:54 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.311\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.311 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001,\r
+ T_RP_MATCHES_RCVD=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id iR8tYiOWmtzk for <notmuch@notmuchmail.org>;\r
+ Fri, 29 Apr 2016 19:08:47 -0700 (PDT)\r
+Received: from mailchk-m05.uwaterloo.ca (mailservices.uwaterloo.ca\r
+ [129.97.128.141])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id C3CE86DE0319\r
+ for <notmuch@notmuchmail.org>; Fri, 29 Apr 2016 19:08:46 -0700 (PDT)\r
+Received: from connect.uwaterloo.ca (connsmtp1.connect.uwaterloo.ca\r
+ [129.97.149.101])\r
+ by mailchk-m05.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id u3U28hjr017457\r
+ (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK)\r
+ for <notmuch@notmuchmail.org>; Fri, 29 Apr 2016 22:08:43 -0400\r
+Received: from uwaterloo.ca (46.243.138.61) by connhub1.connect.uwaterloo.ca\r
+ (129.97.149.113) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 29 Apr\r
+ 2016 22:08:41 -0400\r
+From: Sebastian Fischmeister <sfischme@uwaterloo.ca>\r
+To: Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: notmuch-address-command questions\r
+Reply-To: <sfischme@uwaterloo.ca>\r
+X-Homepage: http://esg.uwaterloo.ca\r
+Date: Fri, 29 Apr 2016 22:08:41 -0400\r
+Message-ID: <87wpnfn90f.fsf@uwaterloo.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-UUID: 4020914a-8889-4f41-8333-4a2a8782d77e\r
+X-Miltered: at mailchk-m05 with ID 572413AB.000 by Joe's j-chkmail\r
+ (http://j-chkmail.ensmp.fr)!\r
+X-Virus-Scanned: clamav-milter 0.99 at mailchk-m05\r
+X-Virus-Status: Clean\r
+X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.9\r
+ (mailchk-m05.uwaterloo.ca [129.97.128.141]);\r
+ Fri, 29 Apr 2016 22:08:44 -0400 (EDT)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 30 Apr 2016 02:08:54 -0000\r
+\r
+Hi,\r
+\r
+I'm trying out the internal expansion for notmuch-address-command. One\r
+thing I immediately notice is that it has lag over 250K emails, since\r
+it's lookup up addresses each time. Scripts like nottoomuch-addresses\r
+have cached results of only all email addresses and have instantaneous\r
+response.\r
+\r
+The second thing is that it seems to list any email it finds. However, I\r
+don't care about email addresses found in emails from 10 years ago. I\r
+only care about the last two years.\r
+\r
+Maybe the lag can be addressed by addressing the time horizon for the\r
+search: Is it possible to limit the email address search to the last two\r
+years? I currently do this in searches by automatically inserting\r
+"date:2y..now " in the search field for normal email searches.\r
+\r
+Thanks.\r
+ Sebastian\r