Skip to content

Transactional email

EdgeKit sends a few emails on your organization’s behalf: sign-in links, one-time codes, organization invitations and newsletter confirmation emails. By default they go out from EdgeKit’s own sender. To send them from your own domain, connect a Resend or SendGrid account in Delivery › Configuration › Transactional email.

The setting applies to your whole organization, on every site. Publication editions are sent another way and do not use it.

Mail goes through your provider only when all three of these are set:

  • Email provider: Resend or SendGrid, chosen on Delivery › Configuration › Transactional email.
  • That provider’s API key, saved on the same screen, in the section that appears once the provider is saved.
  • Sender address: set under Sender on the same screen. The sender name is set there too, and is optional.

Until all three are set, mail goes out from EdgeKit’s default sender. If your organization has asked for the default sender to be turned off, nothing is sent. The screen says which of the three is missing.

Sets who your organization’s sign-in links, one-time codes and organization invitations are sent as. It applies to every site of your organization, and it takes effect on the next request, with no deploy. Changing it needs the Owner or Admin role.

  • Sender name: the display name mail is sent under. Optional.
  • Sender address: the address mail is sent from. Must be an email address.

Shown when the email provider is SendGrid. It says whether the SendGrid account these emails go through lives in the United States or the European Union, so EdgeKit calls the right SendGrid address. It takes effect on the next email, with no deploy.

This is a separate setting from the SendGrid region for newsletters in

Delivery › Configuration › ESP. Set both if the two keys are from accounts in different regions.

  1. In Resend, add your sending domain and publish the DNS records it lists. Wait until Resend shows the domain as verified.
  2. Create an API key with Sending access, restricted to that domain.
  3. On Delivery › Configuration › Transactional email, choose Resend as the email provider and save. The Resend section appears once the provider is saved.
  4. Paste the key into the Resend section and save it.
  5. Set a sender address on that domain under Sender.
  1. In SendGrid, open Settings › Sender Authentication, authenticate your domain and publish the DNS records it lists. Wait until SendGrid shows the domain as verified.
  2. Under Settings › API Keys, create a key with Restricted Access and only Mail Send turned on.
  3. On Delivery › Configuration › Transactional email, choose SendGrid as the email provider and save. The SendGrid section appears once the provider is saved.
  4. Paste the key into the SendGrid section and save it.
  5. Set a sender address on that domain under Sender.
  6. If your SendGrid account is in the European Union, set SendGrid region to match.

EdgeKit turns off SendGrid’s click, open and subscription tracking on these emails, whatever your account’s tracking settings are. Links reach the user unchanged, and SendGrid adds no unsubscribe link: one click on such a link would stop all mail to that address, sign-in codes included.

  • Email provider, sender name and sender address: from the next email. No deploy.
  • API key: a few minutes after you save it. Saving a key redeploys your organization, and the key is in use once that finishes. Emails sent before then still go out from EdgeKit’s default sender.

You can save both providers’ keys and switch between them at any time. Choosing Not configured goes back to EdgeKit’s default sender and keeps the saved keys.

EdgeKit keeps the key with your organization’s other secrets. It is never in the console’s settings, your draft or a deployed document, and the console never shows it again: the screen only says whether a key is saved. To replace a key, enter a new one and save. Owners and admins can change these settings.

edgekit.ai