don't crash if mail contains no plaintext, set limit on plaintext length