Update email notification formatting and tests