Added email Functionality