Missing email on contribution thank you page when using pay later and a profile that includes an email address
It seems like the _emailExists property is setup to track when the email is included in a profile (and therefore not at it's usual key), and I notice that that property is handled on the Confirm page but not on the Thankyou page.
The email address does show up on the page within the profile display, so it's available.
So we just need to get it assigned to the email variable in the smarty, I think the preprocess method is where it should be done. I tried using some code similar to the stuff on the Confirm page, but it didn't work, I'm kind of making it up ...