Fix mail env variable