case SUBJECT:
seekStrategy = new SubjectTerm(value);
LOG.debug("Fetching emails with a subject of \"" + value + "\"");
break;
case TO:
seekStrategy = new RecipientStringTerm(Message.RecipientType.TO,value);
LOG.debug("Fetching emails sent to \"" + value + "\"");
break;
case FROM:
seekStrategy = new FromStringTerm(value);
LOG.debug("Fetching emails sent from \"" + value + "\"");
break;
case CC:
seekStrategy = new RecipientStringTerm(Message.RecipientType.CC,value);
LOG.debug("Fetching emails CC'd to \"" + value + "\"");
break;
case DATE_GT:
seekStrategy = new SentDateTerm(SentDateTerm.GT, parseDate(value));
LOG.debug("Fetching emails with a send date newer than \"" + value + "\"");