[Feature Request] Sync account information along with Mailspring ID
Are there any related issues?
not really
What operating system are you using?
Linux/Mac but it isn't really an OS-related thing.
What version of Mailspring are you using?
yes :)
--
Feature Request?
Does this feature exist in another mail client or tool you use?
no
I use a lot of different machines throughout the day, and it would be super awesome if Mailspring ID was able to sync settings and such across different installations of the client. If I add an account on one machine, it should automagically be added to the others. Or, if I have to reinstall the app, or install it onto a new machine, it should carry over all the accounts I already have associated with Mailspring by virtue of associating the new install with my Mailspring ID -- including authentication and what not. I know lots of people cringe at 3rd party services having that kind of information but I don't really care. Email is inherently insecure as it is, and it's best to assume the whole world has access to your inbox anyway.
I would agree. There was an issue in the Nylas Mail GitHub on this too.
The main reason why it wasn't happening is that the ID server wasn't secure enough. However, it may be possible to offer a way to store auth tokens and settings in a specific file/directory. This allows for it to be synced to a cloud storage service or just copied onto other devices.
I am not an expert, but I don't see why it would have to be any less secure than, for example, the way Firefox Sync saves website login credentials using a user-supplied encryption key.
The issue is that it needs to be more secure - the service would be storing the keys to your kingdom (so to speak).
I would agree, however, that using an encryption key known only to the user would work - it could be done similar to how Authy (2FA app) syncs tokens.
Alternatively, using cloud storage APIs and storing them there directly (ofc this has limited supported and requires vendor-specific implementations).
Yeah configuration could be "synced" in the same way that, for example, Enpass allows you to store your database in a 3rd party cloud provider.
+1 to this
+1
+1
+1
+1
+1, I save and sync my configs for all my other tools using git, and would be really happy with a just a json config file that was safe to check in :)
+1
+1
+1
+1 Is there any update on that?
+1 No responses?
Is this still happening? Syncing preferences and signatures at the least?
+1
Or at least specify where you want to store your config if non-default storage is preferred, then I'll just refer that to a location in my ownCloud sync.
According to this post, you can easily find where your config is stored, and it seems the most important bits (for me at least; the config.json, dictionaries, keymap.json and templates) can be found there.
@Foundry376 how (un)safe is it to sync these files and folders? Because these to not contain the passwords and such, maybe a simple mailspring ID sync? Otherwise I could look into a preferences setting that allows you to store at least the mentioned above somewhere else (synced folder)
If you look at the codebase, you'll see a lot of data is simply put in localStorage within the app. By opening the developer tools on your Mailspring install, you can sync this data back and forth by hand without expending a lot of effort. I just did it for my mailbox forwarding rules.