added email receipt feature