working ver. post refactor for namespaces (@todo implement basic/default email transport)