added mail properties and test case