Connecting Your Email Service (SendGrid)

AB Marketing doesn’t send email from our servers. It sends through your company’s own SendGrid account (an email-sending service), from your own domain. Your sending reputation stays yours, and SendGrid bills you directly at its own price.

The checklist

Open Sending from the workspace’s buttons. It shows Not ready to send yet or Ready to send, and six checks. Nothing can be sent until all six pass. You need the Manager or Admin role to change anything here.

CheckHow it passes
SendGrid connectedPaste an API key (below)
The key has the permissions it needsThe key includes the four permissions listed under step 3
Bounces and unsubscribes reach usSet up for you when you connect
A from address is setFill in Sender (below)
Your sending domain is authenticated in SendGridThe from address’s exact domain is authenticated in SendGrid
Your postal address is set for the footerFill in Postal address (below)
The Sending page before SendGrid is connected: the six checks, the steps and the sender.
The Sending page before SendGrid is connected: the six checks, the steps and the sender.

Connect your SendGrid account

  1. Sign up for SendGrid at sendgrid.com. In Japan, 構造計画研究所 (KKE) resells it with yen invoices.
  2. Authenticate your sending domain in SendGrid under Settings › Sender Authentication. SendGrid gives you DNS records (entries in your domain’s settings) to add; they can take a while to take effect.
  3. Create an API key under Settings › API Keys, with Full Access or with restricted access that includes these four permissions (the Sending page lists them too):
    • mail.send — to send the email
    • user.webhooks.event.settings.read and user.webhooks.event.settings.update — to set up the bounce and unsubscribe notifications
    • whitelabel.read — to check your domain is authenticated
  4. Paste the key into SendGrid API key on the Sending page and click Connect. A key starts with SG.

When you connect, we check the key and refuse it if a permission is missing, naming the ones to add — nothing is saved in that case. If it’s accepted, we add a webhook to your SendGrid account (a setting that makes SendGrid tell us when an email bounces or someone unsubscribes or complains), so those addresses are stopped automatically. The key is stored encrypted.

Set the sender

Under Sender, fill in the From address (on your authenticated domain), the From name people see, an optional Reply-to, and your Postal address, which appears at the bottom of every email — the law requires it in Japan and the US. Three more fields are optional:

  • Legal name in the footer — your company’s legal name. Leave it blank to use the From name.
  • Contact for questions — an email address or a web page where readers can ask about your email. Leave it blank to use the Reply-to address, or the From address if there is no Reply-to, so every email has one.
  • Signature — added under the body of every email, above the footer.

Click Save sender. Once SendGrid is connected, Check again re-runs the checklist after any change you make in SendGrid.

How every email ends

Every email ends the same way: your message, then your signature, then a line, then the footer. The footer says why the reader got the email (the topic), links to their own preferences page, where they can unsubscribe in one click, and shows your legal name, postal address and contact for questions. Japan’s Act on Specified Electronic Mail requires the name, the address and a contact. The preferences link can go to your own site instead; see Unsubscribing on your own site.

These are added outside the message, so editing a draft can’t remove them. A contact that is an email address becomes a link that starts a new email; a web page becomes a link to that page. Links in the signature are not counted as clicks.

Sender details in other languages

If you write to people in more than one language, give each language its own legal name, postal address, contact and signature.

  1. Under Other languages, click Add a language.
  2. Type the Language as a code, such as ja or en-US.
  3. Fill in only what differs. A blank field uses the value at the top of the Sender section.
  4. Click Save sender.

You can add up to 20 languages, and Remove takes one away. The page refuses a code it can’t read (Enter each language as a code such as ja or en-US.) and the same language twice (Each language can be set only once.).

Each reader gets the details for the language on their contact:

The reader’s contact hasThey get
A language you added, such as en-USThat language’s details
A more specific language, such as ja-JP when you added jaThe ja details
A language you haven’t addedThe details at the top (the default)
No language at allThe details for the email’s Footer language, or the default if you haven’t added that language

The footer’s own words — why they got it, the preferences link, “Questions:” — are also written in the reader’s language, in any of the 11 languages AB Marketing runs in. A contact’s language is set when they are added: by hand, from a CSV or through the API. See Topics and consent.

Not built yet: a topic can’t have its own signature, and you can’t choose who gets an email by their language.

Unsubscribing on your own site

If your own system already keeps track of who wants your email, such as customer accounts on your website, readers can unsubscribe there instead of on our preferences page. This needs a developer on your side.

  1. Under Unsubscribe and links, fill in Your unsubscribe address. It must start with https:// and contain {token} where each person’s token goes. {culture} is optional and becomes the reader’s language, such as ja or en-US. For example: https://example.com/unsubscribe/{token}?lang={culture}
  2. Optionally fill in Your preferences page, where the footer’s link goes. Leave it blank to use the unsubscribe address.
  3. Click Save links.
  4. Have your system send each contact’s token through the API, as unsubscribeToken. See The AB Marketing API.
The Unsubscribe and links section of the Sending page, with an unsubscribe address filled in.
The Unsubscribe and links section of the Sending page, with an unsubscribe address filled in.

A reader with a token gets your address in the footer and behind the unsubscribe button Gmail and Yahoo show. A reader without a token keeps our unsubscribe link, so every email always has one.

We can’t see people who leave on your site, so an email sent to anyone with your link shows Unsubscribed as — (not measured). Before you send, the preview says how many of the readers will unsubscribe on your site.

The page refuses an address that isn’t a full HTTPS one (Enter a full address that starts with https://.) and an unsubscribe address without {token} (The unsubscribe address needs {token}, so you can tell who left.).

Sending links without counting clicks

Normally each link in an email passes through us on the way, so the email can show who clicked and who acted afterwards. To send links exactly as you wrote them, tick Send links as they are, without counting clicks under Unsubscribe and links and click Save links. Nothing in your emails then points to us, and emails sent while it’s on show Clicked and Acted as — (not measured). Emails already sent keep their counts.

If a check stays red

You seeDo this
That doesn’t look like a SendGrid API key.Copy the whole key again; it starts with SG.
SendGrid didn’t accept that key.The key was cut short or deleted in SendGrid; create a new one
The key works but is missing permissions.Edit the key in SendGrid to add what’s named, or create a new one
The domain check is redAuthenticate that exact domain in SendGrid, wait for DNS, then Check again

Replace key swaps the key without losing anything. Disconnect removes our webhook from your SendGrid account and forgets the key; nothing can send until you connect again.

Published on 2026-11-29
Last updated on 2026-12-04
Version 5