Control whatever to read attached RFC822 mail content

Reading into the attached RFC822 message as osTicket does by default may cause troubles when the first mail section does not contain a content type text/html. OsTicket will in this case use the body from the attached mail as content as it searches recursive for text/html content first. Email clients will normally show this messages as attachments

We have several cases where emails are handled wrongly especially spam reports.

This change will add an option in the admin panel settings->email tab to control whatever the inline message content should be read or treated as an attachment by osTicket
I would prefer to have the subject at part of the filename as this contains important information to the end user in order to get a fast overview of the ticket.
 
The situation you refere to is alrady handled as there is a check that the string length should be longer than 2.
In case it is not the filename will be  "unknown.eml". But I think it is a good idea to change that to the auto generated name you suggested.
`$filename = 'email.'.Misc::randcode(8).'.eml';`

Can you accept this?