updated copyright notice
Fix bug when deleting a single email.