Don't try to load attachments with unsupported content types
This branch adds an early check for unsupported content types so we don't try to load them with Glide.
This isn't a security measure, as the sender can lie about the content type in order to get the data passed to Glide.