Add scopes to email logging.
Add scopes to `Object::log()` signature.