* gmail scheduled messages
@ 2024-10-26 16:46 prowess-alarm-much
2024-10-26 17:22 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: prowess-alarm-much @ 2024-10-26 16:46 UTC (permalink / raw)
To: notmuch
Hi all,
When using gmail, for a while now, it is possible to schedule messages.
My reasoning is that these messages exist in a limbo, and when I search
them using notmuch search -- subject:"<scheduled message subject>" I
will get its thread: and a funny "the future" followed by the usual
[1/1(1)] etc.
Is there a way to search for these specific messages dynamically?
An example extracting the first two lines from a scheduled email:
MIME-Version: 1.0
Date: Sun, 1 Dec 2030 07:00:00 +0000
will this trip a query like:
notmuch search -- date:$today..$end_of_times?
assuming from a bash script:
today=$(date +%Y%m%d%H%M%S)
end_of_times=$(date -d "$today + 10 years"
Thanks in advance,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gmail scheduled messages
2024-10-26 16:46 gmail scheduled messages prowess-alarm-much
@ 2024-10-26 17:22 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2024-10-26 17:22 UTC (permalink / raw)
To: prowess-alarm-much, notmuch
prowess-alarm-much@duck.com writes:
> Hi all,
>
> When using gmail, for a while now, it is possible to schedule messages.
> My reasoning is that these messages exist in a limbo, and when I search
> them using notmuch search -- subject:"<scheduled message subject>" I
> will get its thread: and a funny "the future" followed by the usual
> [1/1(1)] etc.
>
> Is there a way to search for these specific messages dynamically?
>
> An example extracting the first two lines from a scheduled email:
>
> MIME-Version: 1.0
> Date: Sun, 1 Dec 2030 07:00:00 +0000
>
> will this trip a query like:
>
> notmuch search -- date:$today..$end_of_times?
>
Using notmuch's builtin date parsing, I think you can "simplify" this to
notmuch search -- date:today.. and not date:today
d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-26 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-26 16:46 gmail scheduled messages prowess-alarm-much
2024-10-26 17:22 ` David Bremner
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).