Send Shutdown mail functionality modified.