Add option to set a mail config