Added emailing and deployment.