change email model to use virtus Boolean so that it handles checkboxes correctly
fix lookup of payments without order numbers