Save successful sales.
Generate email messages from sales.
Refactor to improve encapuslation and the like.
Generate purchase confirmation email from template.