debugging email sharing