Mail Archiver deletes mails by mailbox. For each mail in a mailbox is checked if the mail is in the archive. For each email in a mailbox, Mail Archiver checks if the email is in the archive. If it is, then after the archiving is complete, you are given the option to delete it from the mailbox, preserving it in the archive.