Consent architecture

Alternatives to email opt-in forms for verifiable consent

If another system needs to verify who made an email choice, what they agreed to, and whether it still applies, a CRM checkbox is not enough. Pair verified identity with a purpose-specific signed receipt and a way for the receiving system to check current permission. If one system handles the entire relationship, a simpler setup may be enough.

Choose the simplest approach that meets your needs

Confirmed opt-in and a consent history
Use this for a newsletter run by one sender in one email platform. A confirmation email checks that the recipient can act on a message sent to the address. Keep the wording shown at signup, the confirmation, and the unsubscribe history. An exported status or timestamp is not a receipt another system can verify independently.
Verified sign-in and an internal consent log
Use this when people already have accounts and one team controls the systems that need the decision. An OIDC provider's verified email claim is evidence that the user controlled the address at verification time, within the provider's trust model. Record an explicit email choice separately. Sign-in alone is not permission to send product updates.
Verified identity, signed receipts, and current permission
Use this when another system, such as a new email service provider (ESP), must verify the decision without trusting a CRM export. Check that the receiving system supports the receipt format, trusts the issuer and can check current permission. It must verify the signature and match the recipient, sender and purpose to the intended send. A valid receipt documents a past decision; it does not prove the permission is still active.

Try it: a product-updates list changes email providers

Suppose someone opted in to product updates on your site. The new ESP should be able to verify the original choice, but stop sending if the recipient withdraws it. With Git and Node.js 22 or later, you can verify example artifacts without an account, real addresses, or a live send. Run these commands from a directory that does not already contain a checkout:

git clone https://github.com/saezbaldo/xcim-implementers.git
cd xcim-implementers
node tools/verify_valid_receipt_vector.mjs
node tools/verify_permission_revocation_vector.mjs

The public XCIM draft fixtures use test keys. The first check verifies a signed receipt and reports XCIM_PASS_ANCHOR_PENDING. The second verifies a separate signed revocation fixture and rejects a tampered copy. These are not two events for the same permission, and neither result authorizes a send or proves conformance to the current draft.

Now apply the rule to the same historical grant in your test plan:

  • Verified grant, matching scope, current permission active: the consent check passes for those product updates. Other sending controls still apply.
  • Same grant, current permission revoked: do not send. The original receipt still records the choice made at the time.
  • Same grant, no reliable current status: hold the send rather than treating missing information as permission. See XCIM's draft guidance on shared revocations.

Repeat the test with your own integration

Use a staging site and an address you control. Ask for one optional purpose, such as product updates, separate from account sign-in. In Emabled, follow the first signed receipt walkthrough to submit verified identity evidence, record a choice, and verify the receipt on your backend. Use your configured OIDC provider or, where supported, browser-mediated email verification with EVP. Check live capabilities before choosing the identity path.

Check that the granted permission is active. Withdraw the test permission through your integration and confirm the sender now blocks it, even though the original receipt still verifies. Then repeat with a fresh session and decline the purpose. A receipt for a decline must never be treated as a grant. The integration checklist separates receipt verification from current permission checks.

Before migrating a real list, agree with the receiving ESP on what it can verify and how it gets withdrawals. Keep historical records for audit, but do not upgrade an old checkbox or an unverified import into a verified grant.