I'm using Mailgun for sending emails. The mail has a short subject (11 characters), a text body which its maximum line length 115 characters and a PDF attached. I'm getting some errors from Mailgun (on very few emails) with message: "550 Maximum line length exceeded (see RFC 5322 2.1.1)." RFC 5322, 2.1.1 says that the maximum line length is 998 characters excluding the CRLF.
As my email's longest line is way shorter than that, is it possible that this issue is being caused by a header, CSS rule or the attachment?