Break fix

Fixed a bug that was causing the version key/value to be overwritten by forgetting to include a break statement when the version is found. Also changed formatting of email message so it's more readable.