Skip to content
Coritan Docs

Read the email you sent your customers

See every email your organization sent its customers, whether it left and whether it was opened or clicked, and read each one as the customer got it.

View as Markdown

Sent email lists every email your organization sent its customers, newest first: invoices and receipts, account and password emails, service notices, and your store's order and marketing emails. Open one to read it as the customer got it, in your brand's email layout. Each template email also shows whether the customer opened it and followed a link in it. Use the page to answer "did you email me?", to check what a template said on the day it went out, or to see whether a customer read it.

You need the support_tier3 role or above (billing, admin or owner), because each email holds a customer's details. For other roles the page is not in the menu, and its address takes them to the overview.

  1. In the partner dashboard, open your organization. In the sidebar, select Customers, then the Sent email tab.
  2. Read the table. Each row shows who it went To, with the email's name under the address, its Subject, its Status, whether it was Opened and Clicked, and When it was sent. On a narrow window the table leaves out Subject, Opened and Clicked.
  3. To narrow the list, search the recipient's address or the subject, or choose Sent or Failed in place of Any status. The search, the status and the page stay in the address, so a reload or a shared link shows the same list.
  4. Use the pages at the bottom to go back to older email. The table shows 50 to a page.

A Failed email did not leave: the mail server refused it, the address cannot take mail, or its template did not render. A test you sent yourself from a template's editor shows as Test: followed by the email's name.

Opened and Clicked answer two questions about each template email.

Label Meaning
Opened A person opened the email. A second number after it, such as Opened, 3, is how many times when it was more than once.
Not opened No person has opened it.
Clicked A person followed a link in the email. A second number counts the clicks the same way.
No clicks No person has followed a link.
— The email was not tracked. Point at the dash to read Not tracked.

What the counts include:

  • They count people. Mail privacy features and link scanners load images and links for the reader. We count those apart and leave them out of Opened and Clicked.
  • A mail app that blocks images reports no open by itself. When the reader selects a link, the email counts as opened too.
  • Reading an email in the Sent email panel counts as nothing. The copy we keep never holds the open signal, so you can read any email without changing its numbers.

An email is not tracked when it is a security email (a sign-in code, a password reset, an address confirmation or a cloud server's sign-in details), when it went out before tracking started, or when Track opens and clicks was off at the time. Security emails are never tracked, whatever the switch says.

Some rows have a second line, such as Maileroo: 4 opens, 1 click. That is what our mail provider counted for the same email. We show it beside our count and never add the two together, so the numbers can differ.

Track opens and clicks is a switch in the Opens and clicks card at the top of Sent email. Everyone who can open the page sees it, and only an owner or an admin can change it. For any other role the switch is dimmed and the card says Only an owner or admin can change this.

  1. In the partner dashboard, open your organization. In the sidebar, select Customers, then the Sent email tab.
  2. In the Opens and clicks card, switch Track opens and clicks off or on.
  3. A message confirms the change.

Turn it off and every new email carries no tracking, and its links go straight to their pages. Emails already sent keep what they recorded. Turn it on and new emails are tracked again. Tracking starts with the next email sent, so an email sent while the switch was off stays untracked.

If Coritan has tracking off for the whole platform, the card says so and no email is tracked whatever the switch says.

Most email your organization sends is about a customer's account or services, and a customer cannot switch it off. A news email is different: it carries news or offers as well, such as the email that welcomes a customer whose account moved from your old site. A news email shows your organization's legal name and postal address, a "Stop news and offers" link, and the one-click unsubscribe header that Gmail and other mail apps show as an Unsubscribe button.

The link opens GET /api/v1/orgs/{org_slug}/email/unsubscribe with the customer's ID and a signed token. That page shows a button and changes nothing until it is pressed, because mail scanners open links. The button, and the mail app's one-click button, send POST to the same address, which stops news and offers for that customer and answers 200. A wrong or altered token answers 400 and says nothing about the customer.

After that, a news email to that customer is not sent, and the Sent email list shows nothing for it. Emails about their account, invoices, password and services still go out.

  1. Select a row. The email opens in a panel beside the list, and its number goes in the address, so the browser's back button closes it.
  2. Read the facts at the top: Status, To, Customer (select Open the customer to go to their page), Template, Wording (Your version when you edited the template, Coritan's default otherwise) and when it was Sent.
  3. Read the email under As sent, in your brand's layout. Choose Plain text for the version a mail app without HTML shows, and Copy the text to copy it.
  4. Read Opens and clicks under the facts. For a tracked email it shows:
    • Opened: Yes and how many times, or No, then First opened and Last opened when it was opened.
    • Clicked: Yes and how many times, or No, then First clicked when a link was followed.
    • Scanners and privacy proxies: how many times mail privacy features and link scanners loaded the email. These are left out of Opened and Clicked. Select Why they are left out for the reason.
    • Maileroo, only when our mail provider reported something for the email: Maileroo counted 4 opens and 1 click. We keep its count apart from ours.
    • A table of the email's links with the Clicks each one got, and Maileroo clicks when the provider counted any. An email with no links says This message had no links to track. An email that was not tracked says This message was not tracked. and why.
  5. Press Escape or select the close button to go back to the list.

The panel shows the email in a frame that runs no scripts.

Coritan keeps a copy of each email so you can read it later, but not the parts that would let someone else use it:

  • A password link or an address confirmation link keeps its address without its token, so it opens the right page but cannot sign anyone in.
  • A gift card's code keeps only its last four characters.
  • A cloud server's sign-in details email keeps the username but not the server password.

The panel says so above the email when it left one of these out. The customer got the working version.

You can see what each customer was sent, when, and whether it left, and read it as they did.

No copy of this email
The email went out before Coritan kept a copy of each one, or its template did not render. The row still says when it was sent and to whom.
Sent email is not in your menu
It needs Tier 3 support or above. Ask an owner or admin to change your role in Members.
An email you expected is not listed
A filter may be leaving it out. Choose Reset filters. Replies your team writes to a ticket from the staff console are part of the ticket, not this list.

The routes take an access token of a member with Tier 3 support or above, sent as Authorization: Bearer $CORITAN_TOKEN. Changing the tracking switch needs an owner or an admin.

Shell
curl "https://api.coritan.com/api/v1/orgs/acme/email-log?status=failed&q=example.com" \
  -H "Authorization: Bearer $CORITAN_TOKEN"
Parameter What it matches
q Up to 200 characters of the recipient's address or the subject.
status sent or failed. Any other word answers 422.
template One template, such as invoice_created.
limit and offset limit takes 1–200 and defaults to 50; offset skips that many of the newest matching emails.

The answer is {items, total, limit, offset}, newest first, and total counts every matching email. Each item has id, recipient_email, subject, template_slug, status, error, org_customer_id (the customer, or null), source (org for your version of the template, default for Coritan's), has_body (whether a copy was kept), sent_at and created_at and tracking.

tracking is null when the email was not tracked, and otherwise holds:

Field Meaning
opened and opens Whether a person opened the email, and how many times.
clicked and clicks Whether a person followed a link, and how many times.
first_open_at and first_click_at When it was first opened and first clicked, or null.
maileroo {opens, clicks} as our mail provider counted them for the same email, or null when it reported nothing. We never add it to our own counts.

opens and clicks count people only. Mail privacy features and link scanners are left out.

GET /api/v1/orgs/{org_slug}/email-log/{log_id} answers one email with the same fields and:

Field Meaning
html_body The email in your brand's layout, as it left. null when no copy was kept.
text_body Its plain text. null when no copy was kept.
withheld What the copy leaves out: reset_url or verification_url (a link kept without its token), code (a gift card's code kept as its last four characters) and password (a cloud server's password, which the copy leaves out).
tracking The list's tracking object with last_open_at, machine_opens (loads by privacy features and scanners, left out of opens) and links, or null when the email was not tracked.

Each entry of links has position, url, clicks and maileroo_clicks. The kept copy in html_body never holds the open signal, so reading it counts as nothing.

Another organization's email answers 404.

Read and change the tracking switch

Section titled Read and change the tracking switch

GET /api/v1/orgs/{org_slug}/email-log/settings answers the organization's choice:

JSON
{ "enabled": true, "platform_enabled": true, "tracked": true }
Field Meaning
enabled The organization's own choice. It is true until an owner or admin turns tracking off.
platform_enabled Whether Coritan has tracking on at all.
tracked true only when both are true.

PUT /api/v1/orgs/{org_slug}/email-log/settings saves the choice and answers the same object. It needs an owner or an admin, and answers 403 for any other role.

Shell
curl -X PUT "https://api.coritan.com/api/v1/orgs/acme/email-log/settings" \
  -H "Authorization: Bearer $CORITAN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"enabled": false}'

From then on new emails carry no tracking and their links go straight to their pages. Emails already sent keep what they recorded. The change is written to the organization's audit log.

API operations on this page

MethodPathWhat it does
GET/api/v1/orgs/{org_slug}/email-logList email log
GET/api/v1/orgs/{org_slug}/email-log/settingsWhether the organization's template emails are tracked for opens and clicks
PUT/api/v1/orgs/{org_slug}/email-log/settingsTurn open and click tracking of the organization's template emails on or off
GET/api/v1/orgs/{org_slug}/email-log/{log_id}Get email log
GET/api/v1/orgs/{org_slug}/email/unsubscribeWhat the link in a news email will do
POST/api/v1/orgs/{org_slug}/email/unsubscribeStop news and offers for the customer the token names