Deleting history log entries also when deleting a ticket + small adjustment to email sending function