Docs Integrations
Integrations
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.
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 verification | Someone signs up, or asks for a new verification link |
| Password reset | Someone selects Forgot Password? on the Log In page |
| Invitation | An admin invites a teammate under Settings › Members |
| Alert | An alert fires and one of its notification channels is an email address |
| Notification | A person's notification preferences include the Email channel |
| Report | A 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:
- SMTP
- Amazon SES
- 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_HOST | Your SMTP server. Setting it turns SMTP on. |
KUMO_SMTP_PORT | Port. Defaults to 587. |
KUMO_SMTP_SECURE | true or 1 for implicit TLS (typically port 465). Leave it unset or false to use STARTTLS. |
KUMO_SMTP_USER, KUMO_SMTP_PASS | Credentials. 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_URL | Endpoint that receives each message. |
KUMO_EMAIL_API_TOKEN | Optional. Sent as Authorization: Bearer <token>. |
KUMO_EMAIL_API_SHAPE | json (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_HOSTorKUMO_EMAIL_SES_REGIONis set butKUMO_EMAIL_FROMis empty;KUMO_SMTP_PORTisn't a positive whole number;KUMO_EMAIL_API_SHAPEis something other thanjsonorsendgrid.
Read Configuration for every other setting.