In some cases, clients want to prevent Firmhouse emails from being sent. For example:
- The project has a Shopify integration and the client doesn’t want to send a signup confirmation with the first order.
- The client doesn’t want to send upcoming order emails to paused subscriptions
- The client doesn’t want to send upcoming order emails to subscribers that don’t meet the required minimum order value
In these cases, we can insert [SKIP_EMAIL]
in the email body and the email send event won’t get triggered. We can also use conditional insertion for more complex uses, for example not sending an email to paused subscribers:
{% if subscription.status == "paused" %}
[SKIP_EMAIL]
{% endif %}