added email sharing and controller test for such