added email integration