{% assign cursor = nil %}
{% assign total_inventory = 0 %}
after: {{ cursor | json }}
{% assign result = query | shopify %}
{% capture result_json %}
{% assign result = result_json | parse_json %}
{% for order_edge in result.data.orders.edges %}
{% assign order_node = order_edge.node %}
{% if order_node.email == blank %}
"to": {{ order_node.email | json }},
"subject": {{ "We're still working on " | append: order_node.name | json }},
"body": "Thanks for your patience!"
{% if result.data.orders.pageInfo.hasNextPage %}
{% assign cursor = result.data.orders.edges.last.cursor %}