From the account list, long press on the account > Options and folders > Account options > Deleting messages > Hide in the app, keep on the server.
Note that this is on a -per account- basis. You can't select yes or no on a per message basis. I use this setting all the time since I'm usually checking email from my phone when I'm away from my desktop. And not often replying to it. Once I'm at the desktop and launch my stand-alone email client, all mail gets downloaded and then deleted from the server.