Added a mailer and test for deleting a team