added default mail config to application.