feat: add new thunderbird-msg-filters package #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@remusao/thunderbird-msg-fitlers
This is a small library which can parse
msgFilterRules.dat
files fromThunderbird, the free email application.
msgFilterRules.dat
contain so-called "Message Filters", which can be used toautomatically apply actions to inbound emails based on some pre-conditions.
Things like automatic tagging, labeling or moving emails to specific folders.
I personally make extensive use of message filters, but as the number of rules
grows, I found the built-in interface to not be very convenient. Finding or
editing rules can become a pain. So I decided to write a library which allows
to manipulate these rules through a minimal and type-safe API.
The goal of the project is to allow developing more high-level tooling to
read, transform, extend, update the rules while not having to worry about the
low-level parsing details. It would also be possible to store the rules in a
nicer format then use the library to produce the final file which can be
consumed by Thunderbird.
Usage
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via:
npm install @remusao/auto-config@1.2.0-canary.5.b814f6d.0 npm install @remusao/thunderbird-msg-filters@1.2.0-canary.5.b814f6d.0 npm install @remusao/trie@1.2.0-canary.5.b814f6d.0 # or yarn add @remusao/auto-config@1.2.0-canary.5.b814f6d.0 yarn add @remusao/thunderbird-msg-filters@1.2.0-canary.5.b814f6d.0 yarn add @remusao/trie@1.2.0-canary.5.b814f6d.0