Mailspring/spec/models
Juan Tejada a4ee61eadc 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
..
category-spec.coffee fix(fastmail): Strip "INBOX." prefix from displayNames 2016-05-12 16:14:30 -07:00
contact-spec.coffee fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
event-spec.coffee
file-spec.coffee
message-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
model-spec.coffee
model-with-metadata-spec.es6 feat(babel6): Fix ModelWithMetadata spec 2016-05-06 11:55:10 -07:00
mutable-query-result-set-spec.coffee
query-range-spec.coffee
query-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
query-subscription-pool-spec.coffee
query-subscription-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
thread-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00