}
@Override
public boolean setSeenFlag(MailStoreConfiguration config, Authenticator auth, long[] uids, boolean seenValue) {
Folder inbox = null;
try {
<BUG>inbox = getUserInbox(config, auth);
if (!(inbox instanceof UIDFolder)) {</BUG>
String msg = "Toggle unread feature is supported only for UIDFolder instances";
throw new UnsupportedOperationException(msg);
}

}
}
return null;
}
public boolean deleteMessages(MailStoreConfiguration config, Authenticator auth, long[] uids) {
Folder inbox = null;
try {
Session session = openMailSession(config, auth);
inbox = getUserInbox(session, config.getInboxFolderName());
if (!(inbox instanceof UIDFolder)) {
String msg = "Delete feature is supported only for UIDFolder instances";
throw new UnsupportedOperationException(msg);
}
