Adding to Rolebama's post;
Many Email programs will shift deleted Emails into it's own Trash Can or Deleted folder, so it is still on the computer.
Restore will see this as your data and leave it alone. (see note below)
In most Email Programs, under settings you say what should be done with the contents of the Trash Can/Delete folder, something like - Clear/Empty now or Always clear when program is closed.
These actions should delete anything in the bin or folder. (I always set to delete on closing program, a hangover from the days of small hard drives)
While we talking about settings, with Email software when you look at the Inbox what you are seeing is a list of Emails on the server waiting to be downloaded to your computer, the actual Emails are not on your computer at this stage, only when you click on them to read them are they down loaded.
In Settings, you can select to delete Emails on the server after they have downloaded, otherwise they stay on the server. (if not deleted your share of the server will fill up)
Your internet provider is the usual owner of the Email server and will have provision for you to look on (your part) of the Email server, here you can read, write, and delete Emails. (access to this is usually through the broadband providers portal or home screen because you using the internet to look on the server not your Email program)
(note below)
"Hereβs a brief overview of what happens when you use System Restore:
- Restores System Files and Settings: It rolls back Windows system files and settings to the state they were in when the restore point was created.
- Installed Programs: Programs installed after the restore point will be uninstalled. For example, if you installed a program yesterday and the last restore point was created a week ago, that program will be removed after the restore.
- Personal Files: System Restore does not affect personal files like documents, images, and music. Those files remain intact.
- System Updates: Any Windows updates installed after the restore point will also be removed.
To ensure you do not lose any important files or program settings, it's a good idea to back up your data before performing a system reset"
Taken from MS website.
Of course as Rolebalma says, once the virus or whatever is on your computer, they usually protect themselves against deletion.
A good security program will have a list of known viruses and will prevent them from loading or will isolate them.
The next question is does my security do this, usually it will tell you it does, and also when it has done it, and another clue, it will have regular updates which will contain any new viruses discovered?
Sorry this ended up longer than I thought.