Use priority index instead of priorityId for incoming email as the dynamic field expects the input to named priority. This enables filtering of incoming emails by priority. osTicket/osTicket-1.8#499