Email report doesn't handle messages with newlines well
If a message with embedded newlines is logged in a shell action using, for example, the info() function, the entire message will appear in --debug output and in the log file, but an email report will only contain the first line.