In mutt
, can macros can obtain some of the properties from the current message, in order to use them as variables? Here are some examples of potential macros, with the properties I'd wish to obtain in italics.
- Remove gpg encryption for the current message. i.e.
decrypt-save
to the current mailbox containining the message. - Save current message to a file with the subject and date as its name. i.e.
| cat > /tmp/filename
, where filename isdate_subject
. - File message into mailbox
archive-year
, where year depends on the year of the message. (There is a way to do this based on the current date, but not the date of the message.)