replace legacy email page