jessfraz / gmailfilters

A tool to sync Gmail filters from a config file to your account.
MIT License
548 stars 34 forks source link

Support "Mark as important" in filters #15

Open adambkaplan opened 4 years ago

adambkaplan commented 4 years ago

When exporting filters, it appears that IMPORTANT is treated as one of the special label IDs, alongside INBOX, UNREAD, and TRASH.

The gmail filter UI appears to support IMPORTANT in two ways:

  1. Always mark the email as important (add label)
  2. Never mark the email as important (remove label)

We should therefore support the following:

  1. AlwaysMarkImportant
  2. NeverMarkImportant