added functionality to assign yaml path during mailer init