Carrier email and shared freight inboxes

How do you connect carrier emails to the right ERP order?