From: Jose A Ortega Ruiz <jao@gnu.org>
To: "João Pedro" <jpedrodeamorim@gmail.com>, notmuch@notmuchmail.org
Subject: Re: Scheduling mails
Date: Tue, 02 Apr 2024 02:05:30 +0100 [thread overview]
Message-ID: <87jzlg7ew5.fsf@mail.jao.io> (raw)
In-Reply-To: <87frw4sjkd.fsf@ergo>
Hi,
On Mon, Apr 01 2024, João Pedro wrote:
> I am using notmuch in Emacs, with mbsync and msmtp (I actually use
> smtpmail.el in Emacs, but it uses the `sendmail' command, which is
> symlinked to msmtp) and the only thing I miss from other mail clients
> is the ability to schedule a mail to be sent on a certain time. I do
> also use `message-mode' to compose my emails, and it has
> `gnus-delay-article' bound to C-c C-j, which at first sight seems to
> be exactly what I need. The problem is, when calling it from
> =notmuch-message-mode= I get a `wrong-type-argument' from the first
> line of `gnus-agent-queue-setup',
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?
Sounds doable, but maybe there's an easier way: what do more
knowleadgeble people think?
Cheers,
jao
--
Dealing with failure is easy: Work hard to improve. Success is also
easy to handle: You've solved the wrong problem. Work hard to improve.
- Alan Perlis, Epigrams on Programming\r
next prev parent reply other threads:[~2024-04-02 1:05 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 [this message]
2024-04-02 4:34 ` João Pedro
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=87jzlg7ew5.fsf@mail.jao.io \
--to=jao@gnu.org \
--cc=jpedrodeamorim@gmail.com \
--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).