I have replaced my homebrewed Python IDLE script with `gnubiff --nogui'
as the latter seems preferable (non-IDLE support; clever network
However, I do miss the possibility to add per-mailbox newmail_command.
In particular, I want to use gnubiff to monitor my boxes, and trigger
offlineimap with particular arguments when a change occur.
E.g. gnubiff detects a new `gmail' and triggers `offlineimap -a
gmail'. When gnubiff detects a new `unimail' it triggers `offlineimap
Alternatively, if the `--nogui' interface was more verbose
e.g. emitting in which mailbox a new mail was received I could write a
custom script. This could be archived using string-expansion/flags in
newmail_command. Then I would be able to call `~/bin/my_new_mail_script
%b' where %b is replaced with the mailbox in question.
This would also allow for notify-send commands, which some people
might prefer. e.g. `notify-send New mail from %f: %s' where `%f'
expands to `from' and `%s' exands to `subject'.