unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "João Pedro" <jpedrodeamorim@gmail.com>
To: Jose A Ortega Ruiz <jao@gnu.org>, notmuch@notmuchmail.org
Subject: Re: Scheduling mails
Date: Tue, 02 Apr 2024 01:34:20 -0300	[thread overview]
Message-ID: <87cyr8s7qr.fsf@ergo> (raw)
In-Reply-To: <87jzlg7ew5.fsf@mail.jao.io>

Em terça, 02/04/2024 às 02:05 (+01), Jose A Ortega Ruiz <jao@gnu.org> escreveu:

> I might be wrong, but I don't think the Gnus agent can be easily reused
> from notmuch. We could perhaps save the message as a draft upon C-c C-j,
> and then have a periodic timer that checks if any of the drafts has
> expired (maybe using a special, additional tag for the search) and send
> it?

I think we should be able to use a similar logic to
`gnus-delay-article': it adds an X-Gnus-Delayed header with a timestamp
and seems to, as you proposed, periodically check for scheduled
messages. The header holds a timestamp for the prompted scheduled time
(which can be given in as an absolute date, or relative to the current
time) and we could add to that a `scheduled' tag or something along
those lines.

-- 
João Pedro de A. Paula
IT bachelors at Universidade Federal do Rio Grande do Norte (UFRN)\r

  reply	other threads:[~2024-04-02  4:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <QgHQAeKcfzu4V_C0tkbpYXnzqYi9qt3ZvrB6ld7HkVYnD1tPjYaOTvwZZ9OEQVC8un-tb6uJflqJojN6lXLNJw==@protonmail.internalid>
2024-04-02  0:18 ` Scheduling mails João Pedro
2024-04-02  1:05   ` Jose A Ortega Ruiz
2024-04-02  4:34     ` João Pedro [this message]
2024-04-03 10:06       ` David Bremner
2024-04-04  2:55         ` João Pedro
2024-04-04 11:15           ` David Bremner
2024-04-04 16:38   ` Marc Fargas
2024-04-04 11:10 Marc Fargas

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=87cyr8s7qr.fsf@ergo \
    --to=jpedrodeamorim@gmail.com \
    --cc=jao@gnu.org \
    --cc=notmuch@notmuchmail.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).