How to send email with Sparkpost
Knock integrates with Sparkpost to send email notifications to your users.
In this guide you'll learn how to get started sending transactional email notifications with Sparkpost through Knock. We also cover provider configuration and additional data you can pass through to Sparkpost.
- Attachments support
- Delivery tracking
- Link and open tracking
- Per environment configuration
- Sandbox mode
You can create a new Sparkpost channel in the dashboard under the "Channels" section. From there, you'll need to configure the channel for each environment you have.
The following fields are optional and if set, will be applied to all email messages sent via this channel within the environment:
Knock sends the following attributes along with your emails:
metadata.knock_message_id: the message ID attached to this email
In order to send an email notification you'll need a valid