Check of messages on the POP3 server with ability to delete message from the server, without urgency to download it.
Next, you can safely download attachments so it doesn't try to run any from them.