Apple OS X Yosemite Email Viewing Preferences
I do not have Yosemite to confirm but found this:

10.10.2 Update


  The button to show or hide headers when composing mail messages has moved to the toolbar of the composition window.