Copy of snippet "Order Update"

{note}Sender: {formtext: name=sender; default={gmail-email}; cols=40}{dbselect: SELECT "we've received it and it's in the queue" if Status = "Open" else "it's currently being processed" if Status = "Processing" else "it's been completed" AS status FROM `Fictional Support Requests` WHERE lower(`Personal Email`) = lower(@sender) ORDER BY `Email Date` DESC LIMIT 1; space=68w1I5nf9V9ZAmyaBNai4m; menu=no; multiple=yes; name=orders}

{endnote: trim=right}
Hi {gmail-firstname},

Thanks for checking in.

{if: count(orders) = 0}I couldn't find an order linked to this email address. To help me track it down, could you reply with your full name and the email address you used when placing the order? I'll look into it straight away.{else}I've checked your order, and {=orders[1].status}.

If you have any other questions, just reply to this email.{endif}

Best regards,