Sender
contains
(match-all (header-contains "From" ${sender}))
does not contain
(match-all (not (header-contains "From" ${sender})))
is
(match-all (header-matches "From" ${sender}))
is not
(match-all (not (header-matches "From" ${sender})))
starts with
(match-all (header-starts-with "From" ${sender}))
does not start with
(match-all (not (header-starts-with "From" ${sender})))
ends with
(match-all (header-ends-with "From" ${sender}))
does not end with
(match-all (not (header-ends-with "From" ${sender})))
Recipients
contains
(match-all (or (header-contains "To" ${recipient})
(header-contains "Cc" ${recipient})))
does not contain
(match-all (not (or
(header-contains "To" ${recipient})
(header-contains "Cc" ${recipient}))))
is
(match-all (or (header-matches "To" ${recipient})
(header-matches "Cc" ${recipient})))
is not
(match-all (not (or
(header-matches "To" ${recipient})
(header-matches "Cc" ${recipient}))))
starts with
(match-all (or (header-starts-with "To" ${recipient})
(header-starts-with "Cc" ${recipient})))
does not start with
(match-all (not (or
(header-starts-with "To" ${recipient})
(header-starts-with "Cc" ${recipient}))))
ends with
(match-all (or (header-ends-with "To" ${recipient})
(header-ends-with "Cc" ${recipient})))
does not end with
(match-all (not (or
(header-ends-with "To" ${recipient})
(header-ends-with "Cc" ${recipient}))))
Subject
contains
(match-all (header-contains "Subject" ${subject}))
does not contain
(match-all (not (header-contains "Subject" ${subject})))
is
(match-all (header-matches "Subject" ${subject}))
is not
(match-all (not (header-matches "Subject" ${subject})))
starts with
(match-all (header-starts-with "Subject" ${subject}))
does not start with
(match-all (not (header-starts-with "Subject" ${subject})))
ends with
(match-all (header-ends-with "Subject" ${subject}))
does not end with
(match-all (not (header-ends-with "Subject" ${subject})))
Message Body
contains
(body-contains ${word})
does not contain
(not (body-contains ${word}))
Expression
Date sent
is
(match-all (= (get-sent-date) ${versus}))
is not
(match-all (not (= (get-sent-date) ${versus})))
is before
(match-all (< (get-sent-date) ${versus}))
is after
(match-all (> (get-sent-date) ${versus}))
Date received
is
(match-all (= (get-received-date) ${versus}))
is not
(match-all (not (= (get-received-date) ${versus})))
is before
(match-all (< (get-received-date) ${versus}))
is after
(match-all (> (get-received-date) ${versus}))
Label
is
(match-all (= (user-tag "label") ${versus}))
is not
(match-all (not (= (user-tag "label") ${versus})))
Score
is
(match-all (= (cast-int (user-tag "score")) ${versus}))
is not
(match-all (not (= (cast-int (user-tag "score")) ${versus})))
is greater than
(match-all (> (cast-int (user-tag "score")) ${versus}))
is less than
(match-all (< (cast-int (user-tag "score")) ${versus}))
Size (kB)
is greater than
(match-all (> (get-size) ${versus}))
is less than
(match-all (< (get-size) ${versus}))
Status
is
(match-all (system-flag ${flag}))
is not
(match-all (not (system-flag ${flag})))
Replied to
Deleted
Draft
Important
Read
Follow Up
is Flagged
(match-all (not (= (user-tag "follow-up") "")))
is not Flagged
(match-all (= (user-tag "follow-up") ""))
Attachments
Exist
(match-all (system-flag "Attachments"))
Do Not Exist
(match-all (not (system-flag "Attachments")))
Mailing list
is
(match-all (header-matches "x-camel-mlist" ${mlist}))
is not
(match-all (not (header-matches "x-camel-mlist" ${mlist})))
contains
(match-all (header-contains "x-camel-mlist" ${mlist}))
does not contain
(match-all (not (header-contains "x-camel-mlist" ${mlist})))
<_title>Subject contains
<_title>Subject does not contain
<_title>Sender contains
<_title>Recipients contain
<_title>Body contains
<_title>Body does not contain
<_title>Body or subject contains
<_title>Message contains