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 fix(db): Allow string attributes to be null. Never coerce to "" 2016-02-05 13:49:18 -08:00
file-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
message-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
model-spec.coffee fix(model): add specs around serializing bad API data 2016-05-03 15:58:14 -07:00
model-with-metadata-spec.es6 feat(babel6): Fix ModelWithMetadata spec 2016-05-06 11:55:10 -07:00
mutable-query-result-set-spec.coffee DataView => ListDataSource 2016-01-14 12:26:54 -08:00
query-range-spec.coffee New QueryRange specs, fixes 2016-01-14 12:03:06 -08:00
query-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
query-subscription-pool-spec.coffee Merging in new observables for thread list 2016-01-08 14:31:33 -08:00
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