Bug 1090432: Retry when we see "No valid subscriber" error.

Bug 1090007: Move sending triggerd emails to a task.