imapcheck: added encoding option