added mail options constructer to be used in future