Secure API Key Storage
Your SparkPost API key is stored as an encrypted Cloudflare secret — it is never exposed to the browser or stored in code.
To configure or update your API key, run:
npx wrangler pages secret put SPARKPOST_API_KEY --project-name=email-editor
Optional — set a default from address:
npx wrangler pages secret put DEFAULT_FROM_ADDRESS --project-name=email-editor