Kumo.io

Docs Integrations

Integrations

Email

Point a self-hosted installation at your SMTP server, Amazon SES or an HTTP email API, and Kumo.io sends its verification, password-reset, invitation, alert, notification and report emails through it.

Applies to: Self-hostedPlan: All

Hosted or self-hosted

On hosted Kumo.io (kumo.io) there is nothing to configure. Kumo.io sends email for you.

On a self-hosted installation, Kumo.io sends email only after you give it a way to. One email setting serves every kind of message, so you configure it once.

What Kumo.io emails

Message When
Email verificationSomeone signs up, or asks for a new verification link
Password resetSomeone selects Forgot Password? on the Log In page
InvitationAn admin invites a teammate under Settings › Members
AlertAn alert fires and one of its notification channels is an email address
NotificationA person's notification preferences include the Email channel
ReportA scheduled report is delivered by email

Choose a transport

Kumo.io supports three ways to send email. Set the variables for one of them in the environment of every Kumo.io process. If you set more than one, Kumo.io uses the first that is configured, in this order:

  1. SMTP
  2. Amazon SES
  3. An HTTP email API

KUMO_EMAIL_FROM, the sender address, is required by all three.

SMTP

KUMO_EMAIL_FROM=kumo@example.com
KUMO_SMTP_HOST=smtp.example.com
KUMO_SMTP_PORT=587
KUMO_SMTP_USER=kumo
KUMO_SMTP_PASS=<password>
KUMO_SMTP_SECURE=false
Variable Meaning
KUMO_SMTP_HOSTYour SMTP server. Setting it turns SMTP on.
KUMO_SMTP_PORTPort. Defaults to 587.
KUMO_SMTP_SECUREtrue or 1 for implicit TLS (typically port 465). Leave it unset or false to use STARTTLS.
KUMO_SMTP_USER, KUMO_SMTP_PASSCredentials. Leave both unset for a relay that doesn't authenticate.

Amazon SES

KUMO_EMAIL_FROM=kumo@example.com
KUMO_EMAIL_SES_REGION=us-east-1

KUMO_EMAIL_SES_REGION is the region of your verified SES identity. Kumo.io uses the standard AWS credential chain, such as the instance or task role the installation runs as, so there is no SES key to set. Those credentials need permission to send through that identity.

HTTP email API

Kumo.io can POST each message as JSON to an email API or to a relay you run.

KUMO_EMAIL_FROM=kumo@example.com
KUMO_EMAIL_API_URL=https://mail-relay.example.com/send
KUMO_EMAIL_API_TOKEN=<token>
KUMO_EMAIL_API_SHAPE=json
Variable Meaning
KUMO_EMAIL_API_URLEndpoint that receives each message.
KUMO_EMAIL_API_TOKENOptional. Sent as Authorization: Bearer <token>.
KUMO_EMAIL_API_SHAPEjson (the default) or sendgrid.

With json, each message is a POST with this body:

{
  "from": "kumo@example.com",
  "to": "someone@example.com",
  "subject": "…",
  "text": "…"
}

With sendgrid, Kumo.io sends the same message in SendGrid's v3 mail-send format. If you don't set KUMO_EMAIL_API_URL, it defaults to https://api.sendgrid.com/v3/mail/send. Put your SendGrid API key in KUMO_EMAIL_API_TOKEN.

Any response outside the 2xx range counts as a failed send.

Set your public address

Verification, password-reset and invitation emails contain a link back to Kumo.io. Kumo.io builds those links from KUMO_EXTERNAL_URL, the address people use to reach your installation:

KUMO_EXTERNAL_URL=https://kumo.example.com

If KUMO_EXTERNAL_URL isn't set, Kumo.io doesn't send these three kinds of email, even when a transport is configured.

What changes once email works

Configuring email does more than send messages:

  • Sign-up asks people to verify their email address. Once Kumo.io can deliver verification links, people must confirm their address before they can log in. Without email, Kumo.io can't send the link, so it doesn't ask for verification at all.
  • Invitations are mailed. When an admin invites a teammate, Kumo.io emails the invitation. The invite link also appears once on screen, so the admin can copy it and share it another way if the email doesn't arrive.

Without a transport, invitations still work. The admin copies the link from Settings › Members and shares it themselves.

Check your configuration

Run the setup check on the installation:

kumo setup check

The "Outbound email transport configured" check warns when no transport is set, because every email above would otherwise be dropped without an error. When a transport is set, it names the one Kumo.io will use.

Some mistakes stop Kumo.io from starting, so a typo can't silently switch email off:

  • KUMO_SMTP_HOST or KUMO_EMAIL_SES_REGION is set but KUMO_EMAIL_FROM is empty;
  • KUMO_SMTP_PORT isn't a positive whole number;
  • KUMO_EMAIL_API_SHAPE is something other than json or sendgrid.

Read Configuration for every other setting.

See your own cloud in Kumo.io. Read-only access. Nothing in your account changes.

Free Trial