I don't think the first three items you've listed are available through CommandTag. There is however a ClearMailbox and PocoBackup script in the scripts section that you may be able to modify and put together to do what you want.

Apart from that maybe you could use an external scripting language like AutoIt to control PocoMail how you want but thats not a particularly elegant solution!