Roy|000|Added logging
Roy|000|Moved email config to whp app context from blueprint