title: Woocommerce, different order emails depending on product in order
body: <p>I need to send two different "new_order" emails depending on the products ordered.
  The case is that the products are stored at different locations and I need one email to be sent containing only the products present at storage 1, and the other mail containing the products present at storage 2.
  If only products located at storage 1 was ordered, email 2 should not be sent at all, and vice versa.</p>
  
  <p>The storage information is a custom meta field on each product.</p>
  
  <p>I have added a custom email-class which is a copy of <code>class-wc-email-new-order</code> but only with changed name where needed.</p>
  
  <p>I've been looking through the hooks and filters for this, but I was not able to go all the way. I've also been thinking about overriding the <code>email-order-details.php</code>file and check each products meta field, but I am not sure if that is the right way to go. I guess the email would still be sent even if there are no products in the table, so to speak.</p>
  
  <p>My problem is that I don't know which of the emails are sent out when using the different filters, so I cannot check that condition either.</p>
  
  <p>Would you just create two new emails with templates and everything and go that way, or is it something I'm missing here?</p>
  
  <p>If I can clarify anything, please let me know.</p>
  
  <p>Edit: After talking a bit with @helgatheviking I realized that I needed to clearify that the emails regarding storage 1 should be sent only when the order contained products located at storage 1 and emails regarding storage 2 should only be sent when the order contained products located at storage 2.
  If the order contained both kind of products, both emails should be sent, but only displaying their respective products.</p>