Ever want to create Gmail Filter XML by editing a spreadsheet or excel file? This program gives you an easy way to generate Gmail Filter XML files based on a CSV input. It can take single multiple files, or a folder of input and output individial files and merged XML files to be easily imported to Gmail Filter.
See Gmail Help Doc 1.
-
Follow the example of this repository
/testdata/sample-filter.csv
, create a CSV for your filter configuration. -
Run the
main.ts
ts-node main.ts --input_file=[your_csv_file]
-
Find your output xml file in the
output
folder. -
Follow the vidoe here to import the gmail filter from xml you generated.
For more advanced usage of search operators, see [^2].
For questions please contact github+gmail_filter_gen@zzn.im
- Add a label for all auto-archived email for debugging purposes
- Add title to xml file and title to each entry from notes
- Shoot a video (less than 30s) introducing the usage.