Question:
Rather than leaving or deleting email bundle from server I would like to move them to an email folder on the server. (I do this manually) is it possible, is there sample code?
Your tags mention "POP", but AFAIK, POP3 doesn't support multiple folders, so there is nowhere to move emails too - you can either leave them on the server, or download them locally and then delete them from the server.
IMAP has a concept of folders (AFAIK called mailboxes though) - are you in fact using IMAP?