I've looked at "similar" threads here on XDA, but this phone does not seem to have the options that the other threads list.
I'd like to stay with the built-in mail system if possible.
I'm using the phone pretty much stock. I have a Gmail account and an IMAP4 account. I'd like to set things up so that when I delete an email from the phone, it also deletes it from the server (and hopefully my WinXP PC using Mozilla Thunderbird). If I could get it to do the same for my Gmail account so much the better.