Sink should provide a per-resource store of errors.
This store will be used to persistently record errors so they can be queried and displayed.
- An error could store the last N log messages with it so we automatically have some context available without requiring to log everything persistently.
- Bounced emails could be preprocessed by the imap resource and be stored as errors.