title: Exceeding maximum subject length using message.forward
body: <p>I have searched the site, and the web, but have had no joy.</p>
  
  <p>I have a google apps script attached to a spreadsheet that (among other things) forwards emails with a given label to a given email address.  I recently sent an email with a very long subject line, and the script has started failing on the following line of code:</p>
  
  <pre><code>msgsToStore[l].forward(emailAddress);
  </code></pre>
  
  <p>The error I receive is "Argument too large: subject"</p>
  
  <p>The subject of the original email is 283 characters.  Forwarding the message within the gmail web interface works without difficulty, adding "Fwd: " to the beginning as you would expect.  The subject contains an ampersand, but is otherwise not unusual.</p>
  
  <p>I need something I can use other than .forward, or some way of modifying the message object before forwarding it, but I can't find any documentation as to what the maximum size is.</p>
  
  <p>Any help is greatly appreciated.</p>