Attachments have names

A part of an email not having a filename can't be an attachment. This stops random HTML getting interpreted as attachments.