Implemented email integration