adds hooks for email sharing that I forgot to add in last commit