Changing to office365, adding try catch for email failure