email controller changes