allow empty attachments and images.