Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while saving e-mail after send #3222

Closed
Laul opened this issue Jan 26, 2017 · 8 comments
Closed

Error while saving e-mail after send #3222

Laul opened this issue Jan 26, 2017 · 8 comments

Comments

@Laul
Copy link

Laul commented Jan 26, 2017

Are there any related issues?

Not found any similar issue

What operating system are you using?

Mac - Sierra OS 10.12.2

What version of N1 are you using?

v1.0.11

--

Bug?

Do you have any third-party plugins installed? If so, which ones?

No

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

I only have Gmail accounts so I don't know

Is the issue reproducible with a particular attachment, message, signature, etc?

I got the following message 2 or 3 times from the time I use Nylas (i.e. less than 2 weeks) but I did not found reproducible steps to generate similar errors:

Your message successfully sent; however, we had trouble saving your message, "", to your Sent folder.
Cannot make Nylas request without specifying `auth` or an `accountId`.

error-sentmessage

Clicking on "Show Details" give this information:

Error
    at new APIError (/src/flux/errors.es6:28:19)
    at NylasAPIRequest.run (/src/flux/nylas-api-request.es6:111:31)
    at /src/flux/syncback-task-api-request.es6:72:53
    at next (<anonymous>)
    at step (/src/flux/syncback-task-api-request.es6:5:1)
    at Promise._execute (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:300:9)
    at Promise._resolveFromExecutor (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:481:18)
    at new Promise (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:77:14)
    at /src/flux/syncback-task-api-request.es6:5:1
    at Promise._execute (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:300:9)
    at Promise._resolveFromExecutor (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:481:18)
    at new Promise (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:77:14)
    at SyncbackTaskAPIRequest.run (/src/flux/syncback-task-api-request.es6:70:12)
    at EnsureMessageInSentFolderTask.performRemote (/src/flux/tasks/ensure-message-in-sent-folder-task.es6:50:10)
    at EnsureMessageInSentFolderTask.runRemote (/src/flux/tasks/task.es6:230:19)
    at TaskQueue._processTask (/src/flux/stores/task-queue.coffee:237:10)
    at TaskQueue._processTask (/src/flux/stores/task-queue.coffee:1:1)
    at TaskQueue._processQueue (/src/flux/stores/task-queue.coffee:224:8)
    at TaskQueue._processQueue (/src/flux/stores/task-queue.coffee:1:1)
    at /src/flux/stores/task-queue.coffee:351:10
    at /Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/underscore/underscore.js:768:19

Thank you for your help,
Lauranne

@jstejada
Copy link
Contributor

thanks for the report! e're going to look into it

@capi1O
Copy link

capi1O commented Feb 13, 2017

I have a similar error but the error message is slightly different :

nylas-send-bug-msg

Error

Your message successfully sent; however, we had trouble saving your message, "test send from ovh", to your Sent folder.

Syncback Task Failed: Can't find sent folder - could not save message to sent folder.

when clicking show details :

Error
    at new APIError (/src/flux/errors.es6:29:19)
    at _actions2.default.didReceiveSyncbackRequestDeltas.listen.syncbackRequests (/src/flux/syncback-task-api-request.es6:29:25)
    at EventEmitter.eventHandler (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:36:22)
    at EventEmitter.emit (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/eventemitter3/index.js:72:35)
    at Function.trigger (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:52:26)
    at Function.functor [as didReceiveSyncbackRequestDeltas] (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/reflux/src/createAction.js:32:56)
    at DeltaProcessor._notifyOfSyncbackRequestDeltas (/internal_packages/deltas/lib/delta-processor.es6:140:13)
    at /internal_packages/deltas/lib/delta-processor.es6:78:12
    at next (<anonymous>)
    at step (/internal_packages/deltas/lib/delta-processor.es6:2:1)
    at /internal_packages/deltas/lib/delta-processor.es6:2:1
    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 tryOnImmediate (timers.js:554:5)
    at processImmediate [as _immediateCallback] (timers.js:533:5)
  • operating system : Mac - Sierra OS 10.12.3
  • Nylas Mail version : v1.0.21. did not have the problem with Nylas N1 and custom sync-engine.
  • third-party plugins installed : none
  • issue related to a specific email provider : happens only on my OVH mail account (IMAP). I have another IMAP account with a different provider but email cannot even be sent (Sending failures #3182) so I can't tell if problem does happen on this account too...
  • issue reproducibility : happens every time I send a mail, regarding subject, recipient or wether there is a signature or not.

@capi1O
Copy link

capi1O commented Feb 14, 2017

same error after update to Nylas Mail 1.0.26

@sethwebster
Copy link

+1

@jstejada
Copy link
Contributor

a fix for this will be released soon!

@capi1O
Copy link

capi1O commented Feb 23, 2017

a fix for this will be released soon!

Well, I had hope the problem will be fixed by 1.0.28, considering https://github.com/nylas/nylas-mail/blob/master/CHANGELOG.md :

No more errors when saving sent messages to sent folders (auth or accountId errors)

but problem is still there with 1.0.29 ...

@jstejada
Copy link
Contributor

hi @monkeydri ! I believe you are seeing an instance of #3212?

@capi1O
Copy link

capi1O commented Feb 24, 2017

@jstejada Yes you're right I think, the problem is the Sent folder of the culprit IMAP account is not mapped correctly (it does not appear in the Unified Sent folder).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants