Refactor Mail notification plugin to faciliate testing
Rename SUBMISSION_DIR to GLSetting.submission_path

Put logic for creating such directory inside of settings
Major refactoring of unittests

Getting all of them to pass