add email integration to server