implemented email sharing