Added mail controller.