fixed problems with testing emails