fixed some typos, and added a email send feature when the system is muted
forgot to include datetime