Saving emails that have been deleted from server

My email provider is virgin and I use eM client to download and read emails. In the past, I have been able to delete the emails on virgin but keep them on eM client. However, this seems to no longer be the case. Am I doing something wrong? Can I switch on this ability to keep emails that I have deleted from the server