Hey, I found a workaround to import, export, which might be helpful for someone. So here it is:
- Open mailspring on your computer with the up to date mail rules
- Open the developer tools via the menu “Developer” > “Toggle Developer Tools” → a developer tool window should open
- Go to the application tab in the developer tools (you might have to use the “>>” icon to view all tabs)
- Select the “Storage” > “Local Storage” > “file://” item in the left navigation of the developer tools application tab → you should now see some entries with “Key” and “Value”
- Rightclick on the value of the entry with key “MailRules-V2”
- Click “Edit value” in the context menu
- Copy the complete value (starting with “[” and ending with “]”)
- Transfer this text over to your other computer(s)
- Open mailspring on the other computer, open developer tools and go to the same storage (Application > Local Storage > file:// > MailRules-V2)
- Edit the “MailRules-V2” there and paste the text from the first computer
- Restart Mailspring (on Ubuntu clicking on the X is not enough, you have to actually quit mailspring from the top activity bar
- The rules from the other computer should now be applied
Things to keep in mind:
- this deletes all the rules that you previously had on the “other computer”
- I have only tested it on my Ubuntu, Mac setup with a few accounts. No guarantee that it works with all setups
I hope, this is helpful to anyone. A nice way to import, export would of course be nicer, since this workaround is quite cumbersome.
Cheers!