Add functionality to send email upon receiving and shipping of order; implement functional test of mailer and overall integration test