Mailspring/spec/tasks
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
..
base-draft-task-spec.es6 feat(babel6): fix es6 describe function syntax 2016-05-06 11:55:20 -07:00
change-folder-task-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
change-labels-task-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
change-mail-task-spec.coffee
change-starred-task-spec.coffee
change-unread-task-spec.coffee
destroy-category-task-spec.coffee
destroy-model-task-spec.es6 feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
event-rsvp-task-spec.coffee
send-draft-task-spec.es6 fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
syncback-category-task-spec.coffee
syncback-draft-files-task-spec.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
syncback-draft-task-spec.es6 feat(babel6): fix es6 describe function syntax 2016-05-06 11:55:20 -07:00
syncback-model-task-spec.es6 feat(babel6): fix es6 describe function syntax 2016-05-06 11:55:20 -07:00
task-spec.coffee feat(babel6): Fix errors in es6 compilation and extending from coffeescript 2016-05-06 11:55:31 -07:00