As POP3 sadly doesn't yet synchronize the read status and the folder-categorization of emails I would like to use IMAP to download emails. After download I would like to delete them from the server but keep them locally.
How can this be done? I'm running Debian 9.1 with KDE.