How to keep your store's email campaigns out of spam
A practical guide for ecommerce campaigns that reach the inbox: domain and authentication, separate streams, list hygiene, frequency, content and Gmail's rules.
6 min read
How consent works for a store's email marketing under GDPR, ePrivacy and CAN-SPAM: opt-in vs soft opt-in, proof of consent, unsubscribes and order emails.
Pidgely teamPublished 6 min readMarkdown version

Privacy law doesn't ban an online store's email marketing. It asks for three things: a lawful basis for each kind of email, a clear purpose, and an easy, free way out. Order emails rest on the purchase contract. Marketing emails rest on consent (opt-in) in most of Europe, on the soft opt-in for existing customers in the EU and UK, and on an opt-out model under the US CAN-SPAM Act. Whatever the jurisdiction, keep proof of how each address joined your list. Below is what the main rules say and how to apply them at checkout and signup.
These sit on top of GDPR for electronic marketing. The general rule is prior consent for marketing emails to individuals, with an exception known as the soft opt-in: you may email existing customers about your own similar products or services if you got their address in the context of a sale, gave them a simple way to refuse at that moment, and give it again in every message.
The FTC's compliance guide summarizes the main duties: no misleading headers or subject lines, identify the message as an ad, include a valid physical postal address, give a clear way to opt out and honor opt-outs within 10 business days. Messages whose primary purpose is transactional or relationship content are exempt from most of the Act.
Other markets have their own laws (Canada's CASL is notably consent-based, Brazil has the LGPD). If you sell internationally, build for the strictest market you serve.
| Examples | Typical basis | Unsubscribe | |
|---|---|---|---|
| Transactional | Order received, payment, shipping, return | Contract | Not applicable; customers must get them |
| Customer relationship | Review request, replenishment reminder for a product they bought | Legitimate interests or soft opt-in, carefully | Yes, always |
| Marketing | Newsletter, promotions, launches, Black Friday | Consent or soft opt-in | Yes, one click |
The key point: order emails don't need consent, and that's exactly why they must not become disguised campaigns. A confirmation with a small recommendations block is still transactional; a "confirmation" that is mostly promotion is marketing. More in order confirmation and shipping emails.
Not required by most laws, but very useful: the person confirms by clicking a link in an email. It proves the address exists and belongs to the person who signed up, and it filters out bots and typos, which matters a lot for discount-driven pop-ups. The first email of your welcome series can be the confirmation itself.
Because you must be able to demonstrate consent, record for each contact:
email: ana@example.org
consent: marketing_email = true
timestamp: 2026-10-18T14:32:05Z
source: checkout | homepage-popup | account-signup
wording shown: consent text v2026-09
ip / user agent: stored by the form
double opt-in: 2026-10-18T14:35:40ZOn Pidgely, contacts take custom properties (for example consent_source, consent_at, consent_version), so the proof travels with the contact instead of living in a separate spreadsheet. See the contacts guide.
List-Unsubscribe header (RFC 8058), which Gmail and Yahoo require from bulk senders. Google recommends processing unsubscribes within 48 hours (Google FAQ). How it works: one-click unsubscribe.On Pidgely, every broadcast carries one-click unsubscribe, and unsubscribes go to the account's suppression list for future sends.
Beyond unsubscribing, customers can ask to access, correct or erase their data. Have a clear channel (usually a privacy address in your policy) and a process to find the person in every tool (store, email, CRM, messaging), answer within the legal deadline and keep the address suppressed when they ask to never hear from you again, so an old import doesn't bring them back.
Compliance is also deliverability: lists with clear consent generate fewer complaints, and fewer complaints keep your email in the inbox. That side of the story is in ecommerce campaigns that avoid spam.
Pidgely's Free plan includes 6,000 emails per month (200 per day), 3 domains and 3 templates, with the visual template builder on every plan. Starter is R$ 39 (50,000 emails), Growth R$ 149 (250,000) and Scale R$ 449 (1,000,000, with automations and an optional dedicated IP at R$ 129). Extra emails cost R$ 1.00, 0.80 and 0.50 per 1,000 on Starter, Growth and Scale. SPF, DKIM and DMARC are set up aligned, and every email carries one-click unsubscribe headers.
No. Order, payment, shipping and return emails are needed to perform the purchase contract, which is its own lawful basis under GDPR (Article 6(1)(b)). Under CAN-SPAM, transactional or relationship messages are exempt from most provisions. Consent rules apply to marketing.
In the EU and UK, the soft opt-in lets you email existing customers about similar products if you collected their address during a sale, offered a clear opt-out at that moment and offer it in every email. In the US, CAN-SPAM is opt-out based. Rules differ by country, so check where your customers are.
Not under GDPR. Consent must be a clear affirmative act, and the regulation's recitals say pre-ticked boxes do not constitute consent. You also carry the burden of proving consent was given (Article 7(1)).
CAN-SPAM requires honoring opt-outs within 10 business days. GDPR says withdrawing consent must be as easy as giving it. Google recommends processing unsubscribes within 48 hours. In practice, make it immediate with one-click unsubscribe.
Pidgely team
Published
We build Pidgely, the email API that gets you to the inbox. We write about what we learn delivering email, citing the standards and mailbox provider guidelines behind every claim.
A practical guide for ecommerce campaigns that reach the inbox: domain and authentication, separate streams, list hygiene, frequency, content and Gmail's rules.
6 min read
How to build your online store's welcome email series: how many emails, the timing, what each one says, first-order discounts, and copy you can adapt.
5 min read
The order emails every online store needs (confirmation, payment, shipping with tracking, delivery, returns), what to put in each one and how to make them land.
7 min read