format email popup