updating mail configuration