Add event before and after delete

For Documents and Emails