What the heck was that key combination, GMail? That was nowhere near anything I expected to send the message.
Ahem. Anyway, as Philippe showed, your here-document approach would work if you used (F) when building it from the array. All I wanted to add was that, depending on the details of your '[cut]', there might be a way to do it without having to pipe through sed.