Demonstrates updating a database, logging and sending emails when a record is deleted