Error after authenticating - `We were unable to reach your mail provider. Please try again.`
What operating system are you using?
macOS 10.12
What version of N1 are you using?
Nylas Mail 1.0.8
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
Gmail
When I try adding my Gmail account to Nylas, allowing Nylas to use services, and after seeing the "You're all set!" message, my Nylas window doesn't do anything. Opening up the developer toolbar yielded this message:
Error
at new APIError (/src/flux/errors.es6:28:19)
at _priorityUiCoordinator2.default.settle.then (/src/flux/nylas-api-request.es6:177:30)
at tryCatcher (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromiseCtx (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:604:10)
at Async._drainQueue (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:138:12)
at Async._drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate [as _immediateCallback] (timers.js:533:5) Promise
Promise {_bitField: 18087936, _fulfillmentHandler0: APIError: We were unable to reach your mail provider. Please try again.
at new APIError (/src/fl…, _rejectionHandler0: undefined, _promise0: undefined, _receiver0: undefined}
Then I can't go any further. This happens every time I try to add my Gmail account.
I have the same issue.
Having the same issue indeed.
< sudo /Applications/Nylas\ Mail.app/Contents/MacOS/Nylas\ Mail
Password:
2017-01-17 21:14:27.297 Nylas Mail[1081:14930] Streaming log data to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/Nylas-Mail-1081.log
2017-01-17 21:14:27.907 Nylas Mail[1081:14930] App load time: 741ms
2017-01-17 21:15:11.217 Nylas Mail[1081:14930] Error
at new APIError (/src/flux/errors.es6:28:19)
at _priorityUiCoordinator2.default.settle.then (/src/flux/nylas-api-request.es6:177:30)
at tryCatcher (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromiseCtx (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:604:10)
at Async._drainQueue (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:138:12)
at Async._drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate [as _immediateCallback] (timers.js:533:5)
2017-01-17 21:15:12.115 Nylas Mail[1081:14930] undefined
2017-01-17 21:15:12.116 Nylas Mail[1081:14930] 503
Have the same issue. Can't even try Nylas because of that.
hi everyone, thanks for reporting this! We are looking into the issues, and will keep you posted on this thread.
@v0wels it seems that the error you are getting is temporary given the message We were unable to reach your mail provider. Are you still having trouble connecting?
@TwisterMc is the error thrown when you try to auth with Gmail? Do you see any error message in the UI?
@TwisterMc , @garagatyi do you have any error messages? you can open the console via cmd+alt+w then cmd+alt+i
@jstejada I thought so too, and that's why I waited so long before submitting this issue. I've tried multiple times since 9:30 AM EST (almost 7 hours ago). Same thing every time. The bug still remains.
okay, thanks @v0wels !
@v0wels is it happening just with that particular accounts, or other gmail accounts? (or all other types of accounts for that matter?)
Same issue
macOS 10.12
Nylas Mail 1.0.8
Gmail (and Yahoo)
@jstejada I just tested on my personal @gmail.com account (rather than my branded work email), and the same thing happens.
okay, thanks! @v0wels same We were unable to reach your mail provider. Please try again. message?
@jstejada Yup, exactly like the screenshot that @yannick-mamudo posted.
@v0wels @yannick-mamudo, can you make sure these settings are set in your gmail account?

guide to enable IMAP access https://support.google.com/a/answer/105694?hl=en
All settings were already enabled or checked.
@jstejada didn't do the trick for me either
Here are screenshots. No error messages, just success.
My email is a Google Business account or whatever they call them now. I use to use Nylas long go and it worked fine. Once it went paid, I uninstalled it and now I'm trying it again.

@v0wels @yannick-mamudo @TwisterMc thanks! we are having some hiccups with the auth service right now! Will keep you posted
I am still having the same problem with the auth service.
I'm also having the same issue. I've tried it on both personal and business/organization accounts.
Action Required
An unknown error occured when authorizing your account.
If you're repeatedly receiving this error please contact us at [email protected].