send email after order placement, use html emplate for email instead of text. fix some tests, setup integration test