Unsubscribing from GitHub notifications from mutt
Sébastien Hinderer
Sebastien.Hinderer at ens-lyon.org
Sat Jul 29 09:38:00 UTC 2023
Dear all,
I would like to be able to unscribe from GitHub threads directly from
within mutt (the index, say).
I noticed that the emails sent by GitHubcontain this Header:
List-Unsubscribe:
<mailto:unsub+TOKEN at reply.github.com>,
<https://github.com/notifications/unsubscribe/TOKEN>
So there seem to be two steps to be able to unsubscribe form a GitHub
thread from within mutt: (1) extracting the URL from the message, which
should not be too hard, and (2) querying this URL. I thought (2) is going
to be hard because I expected it to require an interpreter of the URL
that can run javascript but I just tried to pass such an URL to wget and
it seems it has been enough to get me unsubscribed.
Has anybody already set-up such a feature? Would be interested in the
details on (1) then.
Many thanks in advance for any comment on any aspect of the question
that comes to anybody's mind, divagations welcome.
Seb.
More information about the Mutt-users
mailing list