6KNE7XAYNZ4T67COSF4ST6NJTJ77KRPD35N4XNPEJBTWOKWV6REAC
ccummings+shit@eventbrite.com
set -x EMAIL_REGEX '.*@.*\.(\w{1,11})+'
notmuch tag +personal -- tag:new AND "(from:chris@thesogu.com or to:chris@thesogu.com or from:mistahcummings@gmail.com or to:mistahcummings%@gmail.com)"
notmuch tag +personal -- tag:new AND "(from:$PERSONAL_EMAIL or to:$PERSONAL_EMAIL or from:$PERSONAL_GMAIL or to:%@gmail.com)"
# filter out spam
set SPAM_SEARCH "(tag:personal AND tag:new) AND (from:spam@spam.spam"
for email in (cat "$DOTFILES/email_spam_list" "$DOTFILES/personal_email_filter")
set SPAM_SEARCH $SPAM_SEARCH " OR from:$email" # the leading space is intentional
end
set SPAM_SEARCH $SPAM_SEARCH ")"
notmuch tag +spam -inbox -new -- "$SPAM_SEARCH"
notmuch tag +eventbrite -- tag:new "(to:@eventbrite.com or from:ccummings%@eventbrite.com)"
notmuch tag +eventbrite -- tag:new "(to:@eventbrite.com or from:$EVENTBRITE_EMAIL_PATTERN or to:@evbqa.com or from:@evbqa.com)"
# filter out spam
set SPAM_SEARCH "(tag:eventbrite AND tag:new) AND (from:spam@spam.spam"
for email in (cat "$DOTFILES/email_spam_list" "$DOTFILES/eventbrite_email_filter")
set SPAM_SEARCH $SPAM_SEARCH " OR from:$email" # the leading space is intentional
end
set SPAM_SEARCH $SPAM_SEARCH ")"
Williams-Sonoma@mail.williams-sonoma.com
outreach@g2crowd.com
notifaction%@facebookmail.com