Bug in code causing the customer email to be read as "Dear Array" rather than "Dear first name surname".