envs

Mailgun — sending email

mailgun/email · version 1

envs add mailgun/email

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
MAILGUN_API_KEY required secret Mailgun's own SDK reads this name and says not to publish the private key in frontend code. No pattern is declared: the key- prefix is widely repeated but the current reference shows only a placeholder. Rotate quarterly by creating a key and revoking the old.. where to get it
MAILGUN_DOMAIN required config The key alone will not send: every call names a domain. Public, being the domain your mail comes from. A sending key scoped to one domain is narrower than the account key above. The name is convention.. where to get it

The JSON the CLI reads