Fix mail configuration