add email service to resources.