Adding email controller