Giter Site home page Giter Site logo

Comments (15)

Noah-Huppert avatar Noah-Huppert commented on September 16, 2024 3

From today's blog post:

This means that if you download and run Nylas Mail from GitHub, you no longer need to login to a Nylas ID and your mail credentials are not sent to the cloud.

Sounds like they've done it for us :) thanks guys.

from nylas-mail.

Noah-Huppert avatar Noah-Huppert commented on September 16, 2024 2

from nylas-mail.

ConorIA avatar ConorIA commented on September 16, 2024 1

Looks like one of the original N1 devs is on his way to implementing a local-only (EDIT: I might have mis-read this part) version of nylas-mail.
Comment: nylas/nylas-mail#3564 (comment)
Fork: https://github.com/bengotow/N1

from nylas-mail.

mikeseese avatar mikeseese commented on September 16, 2024 1

I would try not to get ahead of ourselves too quickly. We do expect a large code dump from Nylas (and @bengotow's might be a contributing factor [or not]) that may do quite a bit of the work for us. I don't want us to do a boat load of work just for to get replaced by a more mature solution we were too impatient to wait on. Food for thought.

from nylas-mail.

tsikerdekis avatar tsikerdekis commented on September 16, 2024

I looked into this briefly and it appears that all requests are passed to the server using an authentication id (based on nylas account). As far as I could tell, all the imap calls are passed through nylas's server. The client has no built-in support for these.

The server part is available: https://github.com/nylas/sync-engine

I haven't really tested it but in theory, if one builds from source and then switches all comms in the client-app to point to 127.0.0.1, then they should be able to get everything working. From there, we could provide users with a choice (whether they would like to use nylas's server and features or use the local client only. Btw, as long as the local client is on, reminder features and similar things like that should work the same.

Not sure if anyone is planning to tackle this but you are welcome to explore this and I can provide support as time permits. Personally, I don't use any of the nylas' features so an option like this I think may actually make the client more popular.

from nylas-mail.

Noah-Huppert avatar Noah-Huppert commented on September 16, 2024

I like the idea of running the server locally. That is definitely the simplest option which probably requires the least work.

I'll have to spend a couple days getting farmiliar with the code and then I can probably come up with a plan.

My only concern would be making sure the server runs on all supported os's alright. We might also be able to prune some features from the local one that aren't needed / won't work with just a local server (perhaps if the feature needs to be able to receive information from a third party service via call back url or something like that)

from nylas-mail.

mayurdw avatar mayurdw commented on September 16, 2024

@Noah-Huppert hey, if you would prefer to talk wit us on how you are going then we do have a slack channel if you wanna join. Here is the link

Cheers

from nylas-mail.

dweremeichik avatar dweremeichik commented on September 16, 2024

Duplicate of #1, closing that thread in favor of this one as this conversation seems more productive.

from nylas-mail.

dweremeichik avatar dweremeichik commented on September 16, 2024

@tsikerdekis my understanding is that the sync engine is now included in "Nylas Mail". It was previously required when the client was "N1".

from nylas-mail.

tsikerdekis avatar tsikerdekis commented on September 16, 2024

@dweremeichik you are correct. For some reason I assumed that sync-engine was the backend support. Doing a grep imap on the repository folders it seems that there is imap support in the isomorphic-core. So it looks like the client has what it needs to operate as stand alone (assuming nobody cares for the extra features).

I guess a step forward for this is to figure out if there is a quick way we can hack to bypass operations regarding nylas id. As far as I remember even sending mail goes through authenticating nylas id but didn't poke around much beyond that.

from nylas-mail.

step21 avatar step21 commented on September 16, 2024

As others have stated, running sync-engine locally was always possible (lots of threads on nylas and elsewhere about it), but now imap stuff is local. I am also interested in it, but to me the codebase is quite huge to get into especially as I am not that fond of javascript and know even less about es6/coffeescript that nylas uses.
I briefly tried to find relevant places in the code that do the nylas-id stuff, but so far not very successful.

from nylas-mail.

step21 avatar step21 commented on September 16, 2024

@ConorIA the previous conclusion of this thread (that mail is handled locally now) is still valid, the dev just said he wants to re-implement some important parts in c++. Which sounds great, but there is no timeframe when it will be testable afaik.

from nylas-mail.

step21 avatar step21 commented on September 16, 2024

Well, just speaking for myself here, but unless you have more info, no one knows whenever Nylas will contribute/dump anything, same with @bengotow. Nylas could go belly-up tomorrow for all we know and bengotow is one guy working mostly on the backend, it could take a while. Once he has his c++ backend, hopefully it should not be too difficult to integrate, but in a worst case scenario this could be years or might never happen. This is not to discredit Nylas or bengotow, but just speaking from evaluating the FOSS landscape for a while, where projects sometimes just die, either due to lack of funds, personal reasons or whatever despite the best intentions.

from nylas-mail.

mikeseese avatar mikeseese commented on September 16, 2024

I guess I'm merely just voicing a warning/heads up so that I don't feel bad for someone to lose work and be "wtf why didn't you tell me this guy was working on stuff already?". I definitely am not telling anyone not to do it given the points you brought up nor am I saying I won't approve PRs to support this effort. Just be aware if the merging is outrageous and the dev isn't around, we may just cut out that dev's commits if we think it would better support the project as a whole.

from nylas-mail.

step21 avatar step21 commented on September 16, 2024

Sure. Thanks for that, that is def good to take into account. Thanks for clarifying.

from nylas-mail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.