Fix inbound.attachments error when no attachments available