aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hooks/mail-added.go
Commit message (Collapse)AuthorAgeFilesLines
* hooks: add mail-added hookJason Cox2023-11-021-0/+23
The mail-added hook runs whenever a message is added to a folder. Note that the hook does not run when a new message is received (the mail-received hook already covers that) but instead runs whenever aerc itself adds a message to a folder, e.g. when moving or copying a message. Changelog-added: `mail-added` hook that triggers when a message is added to a folder. References: https://todo.sr.ht/~rjarry/aerc/136 Signed-off-by: Jason Cox <me@jasoncarloscox.com> Acked-by: Robin Jarry <robin@jarry.cc>