Why not use your email program to do the same thing? Thunderbird can be configured as an IMAP client and be configured to do all sorts of fun things. Just a thought.