Replace newlines in exception call stack with HTML breaks for logging and email notification.