From b950109e88484ad9a577557aea336d0f5f941cd6 Mon Sep 17 00:00:00 2001 From: Sebastian Fischmeister Date: Wed, 10 Dec 2014 20:03:03 +1900 Subject: [PATCH] email snoozing in notmuch --- 29/1fad88b70c85c681babc127d8f6d986a03f8c5 | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 29/1fad88b70c85c681babc127d8f6d986a03f8c5 diff --git a/29/1fad88b70c85c681babc127d8f6d986a03f8c5 b/29/1fad88b70c85c681babc127d8f6d986a03f8c5 new file mode 100644 index 000000000..8995ba686 --- /dev/null +++ b/29/1fad88b70c85c681babc127d8f6d986a03f8c5 @@ -0,0 +1,71 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 14839431FCB + for ; Tue, 9 Dec 2014 17:03:11 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id S3j6wda0vYNH for ; + Tue, 9 Dec 2014 17:03:07 -0800 (PST) +Received: from connect.uwaterloo.ca (connhub2.connect.uwaterloo.ca + [129.97.149.119]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 47EB7431FC3 + for ; Tue, 9 Dec 2014 17:03:07 -0800 (PST) +Received: from uwaterloo.ca (188.193.124.11) by connhub2.connect.uwaterloo.ca + (129.97.149.119) with Microsoft SMTP Server (TLS) id 14.3.195.1; + Tue, 9 Dec 2014 20:03:03 -0500 +From: Sebastian Fischmeister +To: +Subject: email snoozing in notmuch +User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-unknown-linux-gnu) +X-Homepage: http://esg.uwaterloo.ca +Date: Tue, 9 Dec 2014 20:03:03 -0500 +Message-ID: <87wq60e2q5.fsf@uwaterloo.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +Reply-To: sfischme@uwaterloo.ca +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 10 Dec 2014 01:03:11 -0000 + +Hi, + +I'm thinking of how to realize the mail snoozing feature with notmuch, +so that certain emails won't become visible (in the search) until a +certain day/time (e.g., 10 days from now). + +Using the tag as an absolute date when the mail should become visible +again, tags should be searchable and interpretable as dates. The search +would then be something like: notmuch search tag-as-date < now and +tag:inbox + +Using the receive date as base and encoding the delay as relative time +from that, would still need the ability to interpret tag values as +numbers: + +notmuch search date:01012011..15days and tag-as-number < 10 and tag:inbox + +Any ideas how the snoozing feature can be implemented with what is +already present in notmuch? + +Thanks, + Sebastian -- 2.26.2