changed flow for order emails