secured email controller