Replace the code after the switch-case block (until the end of the function) with this:
JScript code:
var sName = Messenger.MyContacts.GetContact(Email).Name; // Retrieve the contact's display name
var Message = sName + " has changed their status to " + MyStatus;// Generate the message
Message = MsgPlus.RemoveFormatCodes(Message); // Remove formatting
MsgPlus.DisplayToast("",Message,"newalert.wma","OnClick",Email); // Display the toast and send the email address along with it