Convert mail settings to yml