💌 A beautiful, fast and fully open source mail client for Mac, Windows and Linux.
Find a file
Juan Tejada ed749e0f51 Add sync worker error handling
- Handles sync errors in a single place. For now, if error is not a
socket error, will treat as a permanent error, save the error to the
account object, and prevent any other syncing until the error is cleared
from the account object
- Adds a NylasError class that can be extended and serialized. Adds it
to global namespace on all packages and replaces all uses of regular
Error
2016-06-27 16:03:38 -07:00
packages Add sync worker error handling 2016-06-27 16:03:38 -07:00
.env Commit .env to fix dev environment 2016-06-27 13:29:13 -07:00
.eslintrc Add sync worker error handling 2016-06-27 16:03:38 -07:00
.gitignore Commit .env to fix dev environment 2016-06-27 13:29:13 -07:00
lerna.json Convert to monorepo 2016-06-22 14:41:32 -07:00
package.json Plain npm install 2016-06-22 14:53:23 -07:00
Procfile Convert to monorepo 2016-06-22 14:41:32 -07:00
Procfile.dev Launch dashboard when in dev mode, publish change on acct creation 2016-06-23 18:17:04 -07:00
README.md Update README with auth instructions 2016-06-24 11:57:24 -07:00

K2 - Sync Engine Experiment

Initial Setup

  1. Download https://toolbelt.heroku.com/
brew install redis
nvm install 6
npm install

Running locally

npm start

Auth an account

curl -X POST -H "Content-Type: application/json" -d '{"email":"inboxapptest2@fastmail.fm", "name":"Ben Gotow", "provider":"imap", "settings":{"imap_username":"inboxapptest1@fastmail.fm","imap_host":"mail.messagingengine.com","imap_port":993,"smtp_host":"mail.messagingengine.com","smtp_port":0,"smtp_username":"inboxapptest1@fastmail.fm", "smtp_password":"trar2e","imap_password":"trar2e","ssl_required":true}}' "http://localhost:5100/auth?client_id=123"