configure mail settings, make them configurable