Integrations
Email
Cloudflare Email
How to send email with Cloudflare Email
How to send transactional email notifications with Cloudflare Email Service and Knock.
Knock supports using Cloudflare Email Service to send email notifications to your users.
Features
#- Knock link and open tracking
- Per environment configuration
- Sandbox mode
Getting started
#- In the Cloudflare dashboard, create an API token (or use a compatible API key) with permission to send email for your account, and copy your Cloudflare account ID. See Cloudflare's API token documentation and how to find your account ID.
- In Knock, open Channels and sources in your account settings and create a Cloudflare Email channel.
- For each environment, enter your API key (your Cloudflare API token or key), Account ID, and From email address. You can enter these when you create the channel, or later by expanding the environment on the channel's page. Use addresses on domains you have verified for sending in Cloudflare.
Channel configuration
#Configure the following settings per environment. Navigate to Channels and sources in your dashboard account settings and select your Cloudflare Email channel. Under Environment configurations, click the environment you'd like to configure to expand its settings, then click "Save changes" when you're done. Expand Advanced for additional options, including overrides and conditions.
Recipient data requirements
#To send an email notification you'll need a valid email property set on your recipient.