So I recently signed up for dropbox (check it out if you haven't already) the otherday so that I can sync my email mailboxes on both my laptop and desktop. The only problem with this is that I have to manually rsync my to the correct directories. I would like to automate this process whereby when I open Thunderbird it automatically gets the mailboxes from the dropbox and when I close Thunderbird the mailboxes sync back to dropbox.
I would also like the automation script to work when I use the Thunderbird icon. Any one have any ideas on how to do this?