base mail configuration