Email unsubscribe: add a link and test it before launch
A practical acceptance checklist for marketers: check the unsubscribe link, One-Click headers, consent and the next send attempt before mailing your customer list.
Contents
To make email unsubscribe work, add a visible link to the message, configure One-Click, and verify that opting out stops future mailings for that topic. A polished “Unsubscribe” label is insufficient unless it changes the subscription state.
This checklist is for a marketer preparing a mailing to their own list of consenting recipients. An integration specialist can handle the technical steps. The outcome should be a clear decision: launch the mailing or fix a specific failure first.
Define what the recipient is leaving
Describe the mailing in one phrase, such as “product news,” rather than “all company emails.” A purchase receipt and a promotional selection serve different purposes. Do not move advertising into the transactional stream to bypass an unsubscribe. See the online store scenario for an example of separating streams.
In Mailcore, a marketing subscription is scoped to the organization, recipient and topic, represented by topic. It is shared across projects within an organization. Creating another project with the same topic must therefore not become a way to contact an opted-out recipient again.
Before sending, retain evidence of consent: who subscribed, when, where and to which topic. An address in your CRM or a previous purchase does not by itself establish consent to a particular mailing. The API does not replace your signup form or your consent evidence store.
The body link and One-Click need separate checks
A recipient may have two ways to unsubscribe:
| Route | What to verify |
|---|---|
| An “Unsubscribe” link in the message body | It is visible, opens the correct page, and confirmation changes the intended subscription |
| An email application's control beside the sender | The original message contains the List-Unsubscribe and List-Unsubscribe-Post headers supporting One-Click |
A regular footer link does not replace One-Click headers. Google specifies both requirements for bulk marketing and subscription messages sent to personal Gmail accounts. Headers do not guarantee that every email application will display a button, so inspect the original message even when the control is absent. Google's sender guidelines.
One-Click uses a special POST request. A scanner merely opening a URL should not unsubscribe the recipient. In Mailcore, GET opens a confirmation page and POST performs the unsubscribe. Keep those actions separate when accepting the integration. The mechanism is described in RFC 8058.
Add the link to your Mailcore template
You can insert a managed marker into a marketing message. The integration specialist passes it in the ordinary html and text fields; no additional request field is required. Mailcore replaces it with a signed URL for the specific recipient and topic.
In HTML, the marker must be the entire quoted href value, with clear, visible link text:
<p style="margin-top:24px;font-size:14px">
<a href="{{unsubscribe_url}}">Unsubscribe from product news</a>
</p>
In the plain-text version:
Unsubscribe from product news: {{unsubscribe_url}}
These are template fragments, not a complete sending request. First, the integration specialist configures the marketing stream, sender and consent for the intended topic. The precise contract is in the Email API documentation.
HTML and plain text are handled independently. A part with a valid marker uses your block without the standard footer. A part without the marker retains Mailcore's automatic footer. If your template already has an external unsubscribe link, replace its destination with the marker to avoid two competing mechanisms. Do not hide the link, turn it into an image or wrap the signed URL in a tracking redirect.
Invalid marker placement can return 422 unsubscribe_template_invalid before quota and paid sends are consumed. Fix the template rather than removing unsubscribe. Do not copy a finished personal URL into a shared template, public preview or open report: it belongs to one recipient and topic.
Preparing a mailing from your CRM or application? Connect Mailcore Email API and give the checks below to your integration specialist. You will need your consent source, template and API integration to launch.
Seven checks before mailing your list
Use only an address you control and a separate diagnostic topic. Check requests with a test key first. Inspecting an actual received message requires a separately authorized send using a live key: a test key returns simulated without delivering mail. Test and live subscriptions are separate.
- Consent is recorded. Genuine subscription evidence exists for the selected address and topic. The integration specialist checks the current state through lookup. If the history cannot explain the source of consent, stop the launch and investigate the list source.
- The message actually arrived. Inspect HTML on a phone and desktop, then the plain-text part in the original message. The link is readable, its label matches the topic, and a real URL replaces
{{unsubscribe_url}}. A sending response of202alone proves none of this. If needed, use the delivery-status troubleshooting guide. - The service headers are present. Ask the integration specialist to check both One-Click headers in the original message. Mailcore adds them; they do not need manual replacement through the API.
- Opening and confirming are different actions. Open the body link. The subscription remains active until confirmation. After confirmation, the integration specialist verifies
opted_outthrough lookup. If the email application offers One-Click, test that separately with another consenting recipient you control. - The next mailing excludes the opted-out recipient. Ask the integration specialist to check a new attempt for the same address and
topic, including the batch path if used. The address must not receive a new marketing message for that topic. Confirm this against subscription state and processing results, not just an empty inbox. - An old list cannot restore the subscription. Reimporting the original list or using ordinary subscription creation must not undo the opt-out. A customer genuinely signing up again provides new consent; the separate process is described below.
- The CRM accounts for current state. Record who checks unsubscribes and how. Mailcore provides lookup; subscription-change webhooks are not currently available. Delivery events do not establish mailing consent.
Unsubscribing cancels sends for that subscription that have not yet started. Do not assume transmission already in progress can be recalled. Assess the outcome using a new attempt after the opt-out is recorded.
If the customer wants to subscribe again
Obtain new explicit consent on your website first. The integration specialist then uses the separate resubscribe operation with the current ID, new evidence and a consent timestamp later than the most recent unsubscribe request. Reuploading a list is insufficient. Old queued messages do not automatically gain permission to use the new consent either.
Keep the evidence in your own system. Do not change an old consent date to pass validation. After resubscription, a working link from an old message can still disable the current subscription for that topic. This is expected behavior.
Keep an acceptance record
Record the date, responsible person, diagnostic topic, control-message ID, HTML and plain-text results, header presence, post-unsubscribe state and next-attempt outcome. Exclude personal unsubscribe URLs and API keys from a shared record.
Launch the list mailing after resolving every mismatch. Consent and working unsubscribe do not guarantee inbox placement: domain authentication, content and reputation also affect delivery. If you need sending from your application, review Mailcore Email API capabilities; this record can help you accept the integration.
Sources
Set up sending with Email API
Prepare your sender domain and notification workflow. Start setup and test the integration with addresses you control.