Mailspring icon indicating copy to clipboard operation
Mailspring copied to clipboard

[Feature Request] Sync account information along with Mailspring ID

Open V3XATI0N opened this issue 9 years ago • 41 comments

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.

V3XATI0N avatar Oct 06 '17 03:10 V3XATI0N

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.

modelmat avatar Oct 15 '17 01:10 modelmat

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.

V3XATI0N avatar Oct 15 '17 03:10 V3XATI0N

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).

modelmat avatar Oct 15 '17 03:10 modelmat

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.

V3XATI0N avatar Oct 16 '17 16:10 V3XATI0N

+1 to this

AbiertaMente avatar Oct 20 '17 06:10 AbiertaMente

+1

csotiriou avatar Jan 31 '18 18:01 csotiriou

+1

rob1998 avatar Feb 02 '18 00:02 rob1998

+1

Freakspot avatar Feb 14 '18 21:02 Freakspot

+1

serhattsnmz avatar Feb 28 '18 10:02 serhattsnmz

+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 :)

FreddieRidell avatar Mar 08 '18 12:03 FreddieRidell

+1

itsfabijano avatar Apr 18 '18 13:04 itsfabijano

+1

CorentinOme avatar Apr 24 '18 06:04 CorentinOme

+1

bashfulrobot avatar May 15 '18 18:05 bashfulrobot

+1 Is there any update on that?

cschloesser avatar Jul 25 '18 09:07 cschloesser

+1 No responses?

svanschooten avatar Aug 02 '18 11:08 svanschooten

Is this still happening? Syncing preferences and signatures at the least?

kartikarora avatar Aug 16 '18 14:08 kartikarora

+1

sudoman281 avatar Oct 19 '18 09:10 sudoman281

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.

svanschooten avatar Oct 23 '18 09:10 svanschooten

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)

svanschooten avatar Oct 24 '18 21:10 svanschooten

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.

joshtwo avatar Feb 07 '19 04:02 joshtwo