gmail-automata icon indicating copy to clipboard operation
gmail-automata copied to clipboard

Match on thread details

Open mlsad3 opened this issue 2 years ago • 2 comments

Allow matching message thread details.

Create rules that can match an email thread's details. Thread details include:

  • (thread label ABC/xyz)
  • (thread is_important)
  • (thread is_in_inbox)
  • (thread is_in_priority_inbox)
  • (thread is_in_spam)
  • (thread is_in_trash)
  • (thread is_starred)
  • (thread is_unread)
  • (thread first_message_subject /has This Text/i)

For example, an email thread may already exist in the labels:

  • ABC
  • ABC/xyz
  • def

Or you can check if an email thread is starred (resolves #11):

(thread is_starred)

Or you can check what the original thread subjectline was (helping, but not resolving issue #17):

(thread first_message_subject /This has no RE: in it/i)

mlsad3 avatar Aug 06 '22 20:08 mlsad3

@ranmocy ,

What are your thoughts on adding a (thread <subtype>) to this, allowing users to match based on thread (not message) details?

(thread is_starred)
(thread first_message_subject /This has no RE: in it/i)

Or do you prefer something like:

(is_starred)
(first_message_subject /This has no RE: in it/i)

mlsad3 avatar Aug 14 '22 05:08 mlsad3

@ranmocy ,

This change would be extremely useful to avoid constant pings from congratulatory email threads (perf / promo / etc) – the type where you want to congratulate a teammate, but once you do, the thread can be ignored.

Is there anything @mlsad3 and I can do to help move this along?

jitsu-net avatar Nov 08 '22 15:11 jitsu-net