fixed mass email bug