Invitation Email Customization

First time peeking into some of the email templates, someone else on my team set them up. Today I realized that there a a “{user} invited you to join {organization}” type placeholder in our message, when I got an invite email that said just “invited you to join.”

I looked through the email template docs, and it appears that there is a set of common variables that appear to be targeting a known user, but this email is targeting a new user from a different user. I believe that I can get the organization, based on the common variables, but am I correct in understanding that there is no way to show the inviting user? I know that value is captured, since we’re generating the invites via api, and that requires me to pass an inviter: { name: string } object.

Using the debug output, it does appear to be the case that the inviter is not passed through to this context. Is there any way that could be updated?

Hi @gmueller,

Unfortunately, you are right, there is no variable for the user who creates—only the common variables from the docs.

If you have any other questions, feel free to reach out.

Have a good one,
Vlad