Fixed mailer docblock
Fixed various docblocks
Fix variable name
Various fixes throughout the framework

- Docblock fixes
- Namespace imports
Merge pull request #5092 from alprs/fix/logtransport

LogTransport bugfix
Merge.