Limit the size of attachments for performance reasons.