Added email method to Application/IndexController.