mail sender and test case