#include <sys/time.h>
#endif
#ifdef USE_NOTMUCH
#include "mutt_notmuch.h"
#define INS_SORT_THRESHOLD 6
struct maildir