setting up mail config