1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 10:41:06 +01:00

feat(scripts): mail-reply, much-current-query

This commit is contained in:
2021-03-03 19:03:59 +01:00
parent 5dccdfee83
commit 12698d9f48
4 changed files with 25 additions and 16 deletions

View File

@@ -41,8 +41,7 @@ mail=$(
printf %s "$mail" | msmtpq --read-recipients --read-envelope-from
# insertion is done upstream (by gmail, posteo, and the like)
# printf %s "$mail" | notmuch insert
printf %s "$mail" | notmuch insert
if in_reply_to=$(printf %s "$mail" | get_in_reply_to); then
if test "$(notmuch search --output=messages "id:$in_reply_to")" != "id:$in_reply_to"; then