Shutdown mail statement modified