"To:" and "Message-id:" work fine.

mdfind supports not equal operator.

enable date search.

need to fix (cond).