Mailspring/spec/stores
Juan Tejada 0ec108c906 fix(mail-merge): Refactor mass sending procedure
Summary:
This diff introduces several updates to mail merge to improve the procedure for sending a list of drafts.
Specifically, sending mass email will now:

- Clear mail merge metadata on the drafts that will actually be sent
- Upload attached files only /once/, and reuse those files on the drafts that will actually be sent
- Minimize database writes for new drafts being created
- Will queue a SendManyDraftsTask that will subsequently queue the necessary SendDraftTasks and keep track of them, and notify of any failed tasks

TODO:
- Add state to MailMerge plugin for failed sends and ability to attempt to re send them

Test Plan: - TODO

Reviewers: evan, bengotow, jackie

Reviewed By: bengotow, jackie

Subscribers: jackie

Differential Revision: https://phab.nylas.com/D2973
2016-05-24 17:22:09 -07:00
..
account-store-spec.coffee fix(spec): remove obsolete account store spec 2016-05-19 11:59:02 -07:00
badge-store-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
category-store-spec.es6 feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
contact-store-spec.coffee fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
database-setup-query-builder-spec.coffee perf(db): Use subselect to improve thread list query perf (53%!) 2016-04-11 13:29:05 -07:00
database-store-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
database-transaction-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
draft-editing-session-spec.coffee fix(specs): Remove fdescribe 2016-05-12 15:23:06 -07:00
draft-factory-spec.es6 fix(draft-factory): ReplyTo takes precedence over "from me" #2175 2016-05-10 10:33:46 -07:00
draft-helpers-spec.es6 fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
draft-store-spec.es6 fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
file-download-store-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
file-upload-store-spec.coffee
focused-contacts-store-spec.coffee
focused-content-store-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
focused-perspective-store-spec.coffee fix(specs) 2016-05-04 11:50:54 -07:00
message-store-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
nylas-sync-status-store-spec.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
task-queue-spec.coffee fix(specs): Fix specs for TaskQueue 2016-05-19 12:33:31 -07:00
task-subclass.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
undo-redo-store-spec.es6 fix(undo): can redo more than one undo item 2016-05-18 16:43:48 -07:00