add templateID to order creation to send a email after export