Is it possible to run a command in the console and trigger an update event for
xfce4-mailwatch? I am looking for the command-line equivalent of right-click and then
i dont really know but i think there's no "easy" way to do this, found no api for it. maybe you can ask at https://mail.xfce.org/mailman/listinfo/goodies-dev
another (a little ugly) method is to script your mouse... you can use xdotool for this: http://tuxradar.com/content/xdotool-script-your-mouse
hope this helps a little bit!