added mail sender options to config