Fixed cancel email bug