Add methods to attach an email to a thread and to delete a thread