modified mail config