Fix email box on different platforms