Potential GMail bug causes exporting to XML not working with category action rules, workaround needed #363
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity, has become stale and will be auto-closed.
question
Further information is requested
I wanted to use
gmailctl
to apply my filter rules to my existing mail archives as well, so I followed the recommended way of exporting fromgmailctl
to XML and then importing it from GMail UI with the "Apply new filters to existing email" option. However, it turns out that any rules with{action: {category: "some_category"}}
will fail to import in this way. The import will report a failure and the imported filter will just miss the category action.After some trials and tweaks, I am confident this could be a potential Gmail bug. I tried creating a filter in Gmail using the categorize action and then exporting and re-importing it. It will fail in the very same way.
Currently, as a workaround, I am maintaining a separate configuration without all the category actions just for exporting the XML. Maybe this could be made a flag into
gmailctl export
that just automatically turns off all category actions?The text was updated successfully, but these errors were encountered: