Your shop sends two completely different kinds of email, and we treat them differently on purpose.
Marketing is anything you send because you want somebody to buy: a campaign, a sale, a newsletter, a "you left something in your cart" reminder.
Receipts are the mail you owe somebody because of something they just did: an order confirmation, a shipping notice, a password reset, a login code, "we have your wholesale application".
Three things still stop a receipt, and you cannot turn them off:
By default, anyone who gave you their email on your own site. If somebody typed their address into your shop — an order, a checkout, a registration, one of your forms, a login code, an account — you can send them offers. That is the United States rule: you may email them until they ask you to stop, and every offer we send carries the unsubscribe link and your postal address that make stopping easy.
You can change it. Settings → Sending rules has one switch:
| The switch | Who gets your offers |
|---|---|
| On — how every account starts | Anyone who gave you their email on your own site. |
| Off | Only people who ticked a box saying yes. Choose this if you sell into the EU, the UK or Canada. |
Three things are true whichever way you set it:
Every email step in a flow has a box that asks what kind of email is this. It has three answers:
| The box says | Use it for |
|---|---|
| Marketing | A promotion. The default, and the safe answer. |
| Order or account | A receipt. Only if the email is genuinely about something the person just did and contains no offer. |
| Cart or checkout recovery | Bringing somebody back to their own cart. Behaves like marketing unless you change one setting under Settings → Sending rules. |
Mark a step for what the email says, never for the flow it lives in. Worked through, on four emails from the same shop:
| The subject line | Which box | Why |
|---|---|---|
| Your order is confirmed | Order or account | They just ordered. No offer in it. |
| We have your wholesale application | Order or account | It is about their own application. |
| Still thinking it over? | Cart or checkout recovery | Their own cart, but it is persuasion. |
| Time to reorder — 10% off | Marketing | An offer. It stays marketing even in a flow called "post-purchase". |
Putting a discount on the receipt setting sends that discount to people who unsubscribed, which is against the law in the United States and carries a penalty per email. When you are not sure, choose Marketing. It is never illegal to be too careful.
Anything sent through https://app.aminoengine.com/api/v1/send — or by our plugin's WordPress switch, or as a login code — is a receipt by construction. There is no setting, and you cannot accidentally send a campaign through that door:
KEY='PASTE-YOUR-SERVER-KEY-HERE'
BODY='{
"to":"unsubscribed-buyer@yourstore.com",
"subject":"Your order is confirmed",
"html":"Order 1044. Thanks!"
}'
TS=$(date +%s)
SIG=$(printf '%s' "$TS.$BODY" \
| openssl dgst -sha256 -hmac "$KEY" -hex | sed 's/^.* //')
curl -sS https://app.aminoengine.com/api/v1/send \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-H "X-AE-Timestamp: $TS" \
-H "X-AE-Signature: sha256=$SIG" \
--data "$BODY"
The key comes from Settings → General → API keys, and every request with it is signed — see "Connect a custom-built store with the API".
That arrives, even though the person is unsubscribed from your newsletter — which is exactly right. The rule is yours to keep on the other side: do not put an offer in it.
Under Reputation → Domains you can mark each of your sending domains for marketing, receipts, or both. New domains do both.
If you have two, split them. Then a bad campaign week can never slow down your order confirmations, because mailbox providers score each sending address separately.
Still stuck? Email support@aminoengine.com and say which email you expected and who it was to. We can see exactly which rule stopped it.