Spark Post Emails to include campaign_id for reporting

Provide campaign_id for each email template when sending emails via Spark Post Email Provider

Currently, Auth0 doesn’t provide a campaign_id as part of the email being sent to Spark Post. This means that when customers want to view their Spark Post email analytics for Auth0 emails we can’t see the sent, opened, clicked interaction metrics for different email types, making the reporting useless.

Associating a campaign_id would allow customers like iCIMS to measure the click through rate of emails sent by Auth0. This would allow us to optimize deliverability and adjust emails content to ensure our end users are engaging with our emails.

See https://developers.sparkpost.com/api/smtp/

X-MSYS-API: {
  "campaign_id": "my_campaign",
}

Or https://developers.sparkpost.com/api/transmissions/ for more details.

Thank you for creating this feedback card!